aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/alpha/pathconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/pathconf.c')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/pathconf.c2
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 15910be..24d6880 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;