aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/fchmodat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fchmodat.c')
-rw-r--r--sysdeps/mach/hurd/fchmodat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/fchmodat.c b/sysdeps/mach/hurd/fchmodat.c
index 5bdd5c4f25..44385cc07e 100644
--- a/sysdeps/mach/hurd/fchmodat.c
+++ b/sysdeps/mach/hurd/fchmodat.c
@@ -25,7 +25,7 @@
#include <hurd/fd.h>
int
-fchmodat (int fd, const char *file, mode_t mode, int flag)
+__fchmodat (int fd, const char *file, mode_t mode, int flag)
{
error_t err;
file_t port = __file_name_lookup_at (fd, flag, file, 0, 0);
@@ -37,4 +37,6 @@ fchmodat (int fd, const char *file, mode_t mode, int flag)
return __hurd_fail (err);
return 0;
}
+
+weak_alias (__fchmodat, fchmodat)
libc_hidden_def (fchmodat)