summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_syscalls.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2009-03-09 05:54:43 +0000
committerdavidxu <davidxu@FreeBSD.org>2009-03-09 05:54:43 +0000
commit0d25ff31c6e453c3111664c773fe9e5f4c13ba0e (patch)
tree8232460007c71c32aeceb63ec326f8a4b14a7051 /lib/libthr/thread/thr_syscalls.c
parentf9380aeb62a89f874386c8735dcfc0befe5029e4 (diff)
downloadFreeBSD-src-0d25ff31c6e453c3111664c773fe9e5f4c13ba0e.zip
FreeBSD-src-0d25ff31c6e453c3111664c773fe9e5f4c13ba0e.tar.gz
Don't ignore other fcntl functions, directly call __sys_fcntl if
WITHOUT_SYSCALL_COMPAT is not defined. Reviewed by: deischen
Diffstat (limited to 'lib/libthr/thread/thr_syscalls.c')
-rw-r--r--lib/libthr/thread/thr_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_syscalls.c b/lib/libthr/thread/thr_syscalls.c
index 3944376..698c0c3 100644
--- a/lib/libthr/thread/thr_syscalls.c
+++ b/lib/libthr/thread/thr_syscalls.c
@@ -258,7 +258,7 @@ __fcntl(int fd, int cmd,...)
#ifdef SYSCALL_COMPAT
ret = __fcntl_compat(fd, cmd, va_arg(ap, void *));
#else
- ret = EOPNOTSUPP;
+ ret = __sys_fcntl(fd, cmd, va_arg(ap, void *));
#endif
}
va_end(ap);
OpenPOWER on IntegriCloud