diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index 8f704291d4ed..71a600a19f06 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -258,7 +258,7 @@ static long do_fcntl(int fd, unsigned int cmd, unsigned long arg, | |||
258 | err = f_dupfd(arg, filp, 0); | 258 | err = f_dupfd(arg, filp, 0); |
259 | break; | 259 | break; |
260 | case F_DUPFD_CLOEXEC: | 260 | case F_DUPFD_CLOEXEC: |
261 | err = f_dupfd(arg, filp, FD_CLOEXEC); | 261 | err = f_dupfd(arg, filp, O_CLOEXEC); |
262 | break; | 262 | break; |
263 | case F_GETFD: | 263 | case F_GETFD: |
264 | err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; | 264 | err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; |