]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__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 15910be9a137e10ce8adb73cb5baad32b9317cc5..24d6880523d56627fd99bbfef3526c351fc73b45 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;