(__pathconf): Use path as first argument to statfs.

This commit is contained in:
Ulrich Drepper 1998-10-24 10:59:25 +00:00
parent 47754990f4
commit ec86258b00

View 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;