diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-28 22:10:27 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-28 22:10:27 +0000 |
commit | 13ebb10b6056685e97648803344674ad81500162 (patch) | |
tree | 7f8dbeb83ea4e8142e350b56506140669d34d9cc /lib/libpthread | |
parent | 9fa489ba717c4e91166f0c8d07be7c3da526757e (diff) | |
download | FreeBSD-src-13ebb10b6056685e97648803344674ad81500162.zip FreeBSD-src-13ebb10b6056685e97648803344674ad81500162.tar.gz |
Use _fcntl() (not fcntl()) inside of fcntl().
Reported by: green
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/thread/thr_fcntl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_fcntl.c b/lib/libpthread/thread/thr_fcntl.c index 06e2e3b..f5dd064 100644 --- a/lib/libpthread/thread/thr_fcntl.c +++ b/lib/libpthread/thread/thr_fcntl.c @@ -152,14 +152,14 @@ fcntl(int fd, int cmd,...) case F_DUPFD: case F_SETFD: case F_SETFL: - ret = fcntl(fd, cmd, va_arg(ap, int)); + ret = _fcntl(fd, cmd, va_arg(ap, int)); break; case F_GETFD: case F_GETFL: - ret = fcntl(fd, cmd); + ret = _fcntl(fd, cmd); break; default: - ret = fcntl(fd, cmd, va_arg(ap, void *)); + ret = _fcntl(fd, cmd, va_arg(ap, void *)); } va_end(ap); |