Don't call fstat, use STAT macro.

This commit is contained in:
Ulrich Drepper 2000-01-18 10:26:16 +00:00
parent 0e2398afe0
commit 1c7b05e15f

View File

@ -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;