summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/exec/libcsupport/src/fcntl.c1
-rw-r--r--c/src/lib/libc/fcntl.c1
-rw-r--r--cpukit/libcsupport/src/fcntl.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/fcntl.c b/c/src/exec/libcsupport/src/fcntl.c
index 9b89711fcc..7594c38d6d 100644
--- a/c/src/exec/libcsupport/src/fcntl.c
+++ b/c/src/exec/libcsupport/src/fcntl.c
@@ -88,6 +88,7 @@ int fcntl(
case F_GETFL: /* more flags (cloexec) */
ret = rtems_libio_to_fcntl_flags( iop->flags );
+ break;
case F_SETFL:
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
diff --git a/c/src/lib/libc/fcntl.c b/c/src/lib/libc/fcntl.c
index 9b89711fcc..7594c38d6d 100644
--- a/c/src/lib/libc/fcntl.c
+++ b/c/src/lib/libc/fcntl.c
@@ -88,6 +88,7 @@ int fcntl(
case F_GETFL: /* more flags (cloexec) */
ret = rtems_libio_to_fcntl_flags( iop->flags );
+ break;
case F_SETFL:
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c
index 9b89711fcc..7594c38d6d 100644
--- a/cpukit/libcsupport/src/fcntl.c
+++ b/cpukit/libcsupport/src/fcntl.c
@@ -88,6 +88,7 @@ int fcntl(
case F_GETFL: /* more flags (cloexec) */
ret = rtems_libio_to_fcntl_flags( iop->flags );
+ break;
case F_SETFL:
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );