diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/pathconf.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/pathconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/pathconf.c b/sysdeps/unix/sysv/linux/alpha/pathconf.c index 15910be9a1..24d6880523 100644 --- a/sysdeps/unix/sysv/linux/alpha/pathconf.c +++ b/sysdeps/unix/sysv/linux/alpha/pathconf.c @@ -51,7 +51,7 @@ __pathconf (const char *path, int name) struct statfs fsbuf; /* Determine the filesystem type. */ - if (__statfs (fd, &fsbuf) < 0) + if (__statfs (path, &fsbuf) < 0) /* not possible, return the default value. */ return LINK_MAX; |