From ec86258b004ed05399ec3b271c0fa314370afbfd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 24 Oct 1998 10:59:25 +0000 Subject: [PATCH] (__pathconf): Use path as first argument to statfs. --- sysdeps/unix/sysv/linux/alpha/pathconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4