diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2008-05-30 14:47:42 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2008-05-30 14:47:42 +0000 |
| commit | cd7d66a21f1a9cc8192126b05cecdd8cf819964a (patch) | |
| tree | 66233dd5fa491396f1de4954fa46d990ed6f6fd1 /lib/libkse | |
| parent | 0b99032d0987c01313bb84e0743afc9ede466187 (diff) | |
Notes
Diffstat (limited to 'lib/libkse')
| -rw-r--r-- | lib/libkse/thread/thr_fcntl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_fcntl.c b/lib/libkse/thread/thr_fcntl.c index 113cd734d2a6..e739633422a2 100644 --- a/lib/libkse/thread/thr_fcntl.c +++ b/lib/libkse/thread/thr_fcntl.c @@ -37,6 +37,7 @@ #include "thr_private.h" int __fcntl(int fd, int cmd,...); +extern int __fcntl_compat(int fd, int cmd,...); __weak_reference(__fcntl, fcntl); @@ -68,7 +69,7 @@ __fcntl(int fd, int cmd,...) ret = __sys_fcntl(fd, cmd); break; default: - ret = __sys_fcntl(fd, cmd, va_arg(ap, void *)); + ret = __fcntl_compat(fd, cmd, va_arg(ap, void *)); } va_end(ap); |
