diff options
author | davidxu <davidxu@FreeBSD.org> | 2009-03-09 05:54:43 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2009-03-09 05:54:43 +0000 |
commit | 0d25ff31c6e453c3111664c773fe9e5f4c13ba0e (patch) | |
tree | 8232460007c71c32aeceb63ec326f8a4b14a7051 /lib/libthr | |
parent | f9380aeb62a89f874386c8735dcfc0befe5029e4 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/libthr/thread/thr_syscalls.c | 2 |
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); |