aboutsummaryrefslogtreecommitdiff
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
commit1510d83869e05a784ef9ac3fb7dc3084e473d6c8 (patch)
treec4eca6cbed26fdee43028d7f30926876906c4a01
parent68a606874b15f49f93f72a9523719a8ffb8b7a29 (diff)
downloadgdb-1510d83869e05a784ef9ac3fb7dc3084e473d6c8.zip
gdb-1510d83869e05a784ef9ac3fb7dc3084e473d6c8.tar.gz
gdb-1510d83869e05a784ef9ac3fb7dc3084e473d6c8.tar.bz2
* 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 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