(__pathconf): Use path as first argument to statfs.
authorUlrich Drepper <drepper@redhat.com>
Sat, 24 Oct 1998 10:59:25 +0000 (10:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 24 Oct 1998 10:59:25 +0000 (10:59 +0000)
sysdeps/unix/sysv/linux/alpha/pathconf.c

index 15910be..24d6880 100644 (file)
@@ -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;