mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +00:00
Don't call fstat, use STAT macro.
This commit is contained in:
parent
0e2398afe0
commit
1c7b05e15f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user