diff options
-rw-r--r-- | lib/libc/sys/fcntl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/fcntl.c b/lib/libc/sys/fcntl.c index 6c367abcb763..eb93a5687ac2 100644 --- a/lib/libc/sys/fcntl.c +++ b/lib/libc/sys/fcntl.c @@ -34,8 +34,10 @@ __FBSDID("$FreeBSD$"); #include <sys/syscall.h> #include "libc_private.h" +__weak_reference(__fcntl, fcntl); + int -fcntl(int fd, int cmd, ...) +__fcntl(int fd, int cmd, ...) { va_list args; long arg; |