diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_fstatfs.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_fstatfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_fstatfs.c b/lib/libc_r/uthread/uthread_fstatfs.c index 1216c82..f236fef 100644 --- a/lib/libc_r/uthread/uthread_fstatfs.c +++ b/lib/libc_r/uthread/uthread_fstatfs.c @@ -46,11 +46,11 @@ fstatfs(int fd, struct statfs * buf) int ret; /* Lock the file descriptor for read: */ - if ((ret = _thread_fd_lock(fd, FD_READ, NULL, __FILE__, __LINE__)) == 0) { + if ((ret = _FD_LOCK(fd, FD_READ, NULL)) == 0) { /* Get the file system status: */ ret = _thread_sys_fstatfs(fd, buf); /* Unlock the file descriptor: */ - _thread_fd_unlock(fd, FD_READ); + _FD_UNLOCK(fd, FD_READ); } return (ret); } |