diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-06-08 00:04:04 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-06-08 00:04:04 +0000 |
commit | 1510d83869e05a784ef9ac3fb7dc3084e473d6c8 (patch) | |
tree | c4eca6cbed26fdee43028d7f30926876906c4a01 | |
parent | 68a606874b15f49f93f72a9523719a8ffb8b7a29 (diff) | |
download | gdb-1510d83869e05a784ef9ac3fb7dc3084e473d6c8.zip gdb-1510d83869e05a784ef9ac3fb7dc3084e473d6c8.tar.gz gdb-1510d83869e05a784ef9ac3fb7dc3084e473d6c8.tar.bz2 |
* opncls.c (bfd_fdopenr): Add missing break statements.
-rw-r--r-- | bfd/opncls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c index 5dca3e1..ab20aa1 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 |