diff --git a/[refs] b/[refs] index e9cbf75a7050..c8b2d9bfe21f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f5a246eab9a268f51ba8189ea5b098a1bfff200e +refs/heads/master: 121977187ca0a7f20b848530deb04cc56167769b diff --git a/trunk/fs/fcntl.c b/trunk/fs/fcntl.c index 8f704291d4ed..71a600a19f06 100644 --- a/trunk/fs/fcntl.c +++ b/trunk/fs/fcntl.c @@ -258,7 +258,7 @@ static long do_fcntl(int fd, unsigned int cmd, unsigned long arg, err = f_dupfd(arg, filp, 0); break; case F_DUPFD_CLOEXEC: - err = f_dupfd(arg, filp, FD_CLOEXEC); + err = f_dupfd(arg, filp, O_CLOEXEC); break; case F_GETFD: err = get_close_on_exec(fd) ? FD_CLOEXEC : 0;