From a6bd1d19554599fdc631dd9d8b1821656c5c440a Mon Sep 17 00:00:00 2001 From: dfr Date: Fri, 30 May 2008 14:47:42 +0000 Subject: Call the fcntl compatiblity wrapper from the thread library fcntl wrappers so that they get the benefit of the (limited) forward ABI compatibility. MFC after: 1 week --- lib/libkse/thread/thr_fcntl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libkse/thread') diff --git a/lib/libkse/thread/thr_fcntl.c b/lib/libkse/thread/thr_fcntl.c index 113cd73..e739633 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); -- cgit v1.1