diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/statvfs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/statvfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/statvfs.c b/sysdeps/unix/sysv/linux/statvfs.c index c3df2e6a49..74c4985fe1 100644 --- a/sysdeps/unix/sysv/linux/statvfs.c +++ b/sysdeps/unix/sysv/linux/statvfs.c @@ -30,7 +30,7 @@ statvfs (const char *file, struct statvfs *buf) int retval; int fd; - fd = open (file, O_RDONLY); + fd = __open (file, O_RDONLY); if (fd < 0) return -1; @@ -39,7 +39,7 @@ statvfs (const char *file, struct statvfs *buf) /* Close the file while preserving the error number. */ save_errno = errno; - close (fd); + __close (fd); __set_errno (save_errno); return retval; |