aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/fpathconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/fpathconf.c')
-rw-r--r--sysdeps/unix/sysv/linux/fpathconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/fpathconf.c b/sysdeps/unix/sysv/linux/fpathconf.c
index 617a5a93cf..12a1e3221e 100644
--- a/sysdeps/unix/sysv/linux/fpathconf.c
+++ b/sysdeps/unix/sysv/linux/fpathconf.c
@@ -1,5 +1,5 @@
/* Get file-specific information about descriptor FD. Linux version.
- Copyright (C) 1991,1995,1996,1998-2003,2008,2010
+ Copyright (C) 1991,1995,1996,1998-2003,2008,2010,2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -40,7 +40,7 @@ __fpathconf (fd, name)
switch (name)
{
case _PC_LINK_MAX:
- return __statfs_link_max (__fstatfs (fd, &fsbuf), &fsbuf);
+ return __statfs_link_max (__fstatfs (fd, &fsbuf), &fsbuf, NULL, fd);
case _PC_FILESIZEBITS:
return __statfs_filesize_max (__fstatfs (fd, &fsbuf), &fsbuf);