about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/internal_statvfs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-18 10:53:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-18 10:53:15 +0000
commitc7e85d0c08ccbfc7604f6d50579c3a4b25281ff1 (patch)
treeaacc8173cb2fc87edb5fde53c4bc83aa160c79fa /sysdeps/unix/sysv/linux/internal_statvfs.c
parent6e9b72d3abab3236a2e079587ad5c5653d96e7bd (diff)
downloadglibc-c7e85d0c08ccbfc7604f6d50579c3a4b25281ff1.tar.gz
glibc-c7e85d0c08ccbfc7604f6d50579c3a4b25281ff1.tar.xz
glibc-c7e85d0c08ccbfc7604f6d50579c3a4b25281ff1.zip
Update.
	* posix/TESTS: Fix expected result for test cases with * with no
	leading expression.
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_statvfs.c')
-rw-r--r--sysdeps/unix/sysv/linux/internal_statvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c
index 24765dcf5e..2ea380d5cd 100644
--- a/sysdeps/unix/sysv/linux/internal_statvfs.c
+++ b/sysdeps/unix/sysv/linux/internal_statvfs.c
@@ -40,7 +40,7 @@
      file.  The way we can test for matching filesystem is using the
      device number.  */
   buf->f_flag = 0;
-  if (fstat (fd, &st) >= 0)
+  if (STAT (&st) >= 0)
     {
       int save_errno = errno;
       struct mntent mntbuf;