about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/fpathconf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e58a1831e..c6d9b1afe5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-09  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
+	fcntl.
+
 2010-07-06  Andreas Schwab  <schwab@redhat.com>
 
 	* elf/dl-version.c (match_symbol): Don't pass NULL occation to
diff --git a/sysdeps/unix/sysv/linux/fpathconf.c b/sysdeps/unix/sysv/linux/fpathconf.c
index 67dc3845f2..617a5a93cf 100644
--- a/sysdeps/unix/sysv/linux/fpathconf.c
+++ b/sysdeps/unix/sysv/linux/fpathconf.c
@@ -52,7 +52,7 @@ __fpathconf (fd, name)
       return __statfs_chown_restricted (__fstatfs (fd, &fsbuf), &fsbuf);
 
     case _PC_PIPE_BUF:
-      r = fcntl (fd, F_GETPIPE_SZ);
+      r = __fcntl (fd, F_GETPIPE_SZ);
       if (r > 0)
 	return r;
       /* FALLTHROUGH */