about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/fpathconf.c2
-rw-r--r--sysdeps/mach/hurd/pathconf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/fpathconf.c b/sysdeps/mach/hurd/fpathconf.c
index 1899062741..f5e6579ee8 100644
--- a/sysdeps/mach/hurd/fpathconf.c
+++ b/sysdeps/mach/hurd/fpathconf.c
@@ -29,7 +29,7 @@ __fpathconf (int fd, int name)
   error_t err;
   long int value;
 
-  if (err = HURD_DPORT_USE (fd, __file_pathconf (port, name, &value)))
+  if (err = HURD_DPORT_USE (fd, __io_pathconf (port, name, &value)))
     return __hurd_dfail (fd, err), -1L;
 
   return value;
diff --git a/sysdeps/mach/hurd/pathconf.c b/sysdeps/mach/hurd/pathconf.c
index f7923ae967..0b27b32b07 100644
--- a/sysdeps/mach/hurd/pathconf.c
+++ b/sysdeps/mach/hurd/pathconf.c
@@ -31,7 +31,7 @@ __pathconf (const char *file, int name)
   file_t port = __file_name_lookup (file, 0, 0);
   if (port == MACH_PORT_NULL)
     return -1L;
-  err = __file_pathconf (port, name, &value);
+  err = __io_pathconf (port, name, &value);
   __mach_port_deallocate (__mach_task_self (), port);
   if (err)
     return __hurd_fail (err), -1L;