From c7e85d0c08ccbfc7604f6d50579c3a4b25281ff1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Jan 2000 10:53:15 +0000 Subject: Update. * posix/TESTS: Fix expected result for test cases with * with no leading expression. --- sysdeps/unix/sysv/linux/internal_statvfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/internal_statvfs.c') diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c index 24765dc..2ea380d 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; -- cgit v1.1