From: Ulrich Drepper Date: Sat, 24 Oct 1998 10:59:25 +0000 (+0000) Subject: (__pathconf): Use path as first argument to statfs. X-Git-Tag: glibc-2.16-ports-before-merge~3045 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec86258b004ed05399ec3b271c0fa314370afbfd;p=thirdparty%2Fglibc.git (__pathconf): Use path as first argument to statfs. --- diff --git a/sysdeps/unix/sysv/linux/alpha/pathconf.c b/sysdeps/unix/sysv/linux/alpha/pathconf.c index 15910be9a13..24d6880523d 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;