about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fchdir.c')
-rw-r--r--sysdeps/mach/hurd/fchdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/fchdir.c b/sysdeps/mach/hurd/fchdir.c
index 711f1c2683..71c8a5c265 100644
--- a/sysdeps/mach/hurd/fchdir.c
+++ b/sysdeps/mach/hurd/fchdir.c
@@ -25,9 +25,8 @@
 
 /* Change the current directory to FD.  */
 
-/* XXX should be __fchdir? */
 int
-fchdir (fd)
+__fchdir (fd)
      int fd;
 {
   error_t err;
@@ -44,3 +43,4 @@ fchdir (fd)
 
   return err ? __hurd_fail (err) : 0;
 }
+weak_alias (__fchdir, fchdir)