diff options
Diffstat (limited to 'libc/unistd/fpathconf.c')
-rw-r--r-- | libc/unistd/fpathconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/unistd/fpathconf.c b/libc/unistd/fpathconf.c index 2f6cf7214..5404e7b01 100644 --- a/libc/unistd/fpathconf.c +++ b/libc/unistd/fpathconf.c @@ -53,7 +53,7 @@ long int fpathconf(int fd, int name) struct statfs fsbuf; /* Determine the filesystem type. */ - if (fstatfs (fd, &fsbuf) < 0) + if (__fstatfs (fd, &fsbuf) < 0) { if (errno == ENOSYS) /* not possible, return the default value. */ @@ -127,7 +127,7 @@ long int fpathconf(int fd, int name) struct statfs buf; int save_errno = errno; - if (fstatfs (fd, &buf) < 0) + if (__fstatfs (fd, &buf) < 0) { if (errno == ENOSYS) { @@ -201,7 +201,7 @@ long int fpathconf(int fd, int name) /* AIO is only allowed on regular files and block devices. */ struct stat st; - if (fstat (fd, &st) < 0 || (! S_ISREG (st.st_mode) && ! S_ISBLK (st.st_mode))) + if (__fstat (fd, &st) < 0 || (! S_ISREG (st.st_mode) && ! S_ISBLK (st.st_mode))) return -1; else return 1; |