summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-06-08 00:04:04 +0000
committerMark Mitchell <mark@codesourcery.com>2005-06-08 00:04:04 +0000
commit5e3389d700af0d579020d0020967b179c62c071d (patch)
tree40d1639fa7c1f7fc5ad95bc6cc79d2c9cec0da46
parent06ffeca7a300c10624c093e64fe3588d389f6910 (diff)
downloadgdb-5e3389d700af0d579020d0020967b179c62c071d.tar.gz
* opncls.c (bfd_fdopenr): Add missing break statements.
-rw-r--r--bfd/opncls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 5dca3e16ec4..ab20aa19b13 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -280,9 +280,9 @@ bfd_fdopenr (const char *filename, const char *target, int fd)
/* (O_ACCMODE) parens are to avoid Ultrix header file bug. */
switch (fdflags & (O_ACCMODE))
{
- case O_RDONLY: mode = FOPEN_RB;
- case O_WRONLY: mode = FOPEN_RUB;
- case O_RDWR: mode = FOPEN_RUB;
+ case O_RDONLY: mode = FOPEN_RB; break;
+ case O_WRONLY: mode = FOPEN_RUB; break;
+ case O_RDWR: mode = FOPEN_RUB; break;
default: abort ();
}
#endif