about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/chflags.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-07 21:56:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-07 21:56:15 +0100
commit5d2556c4fa4629b1c3adf59f29c699f00d4122ea (patch)
tree38d8e377f3bd66280aaaab51a706a73bf7383aed /sysdeps/mach/hurd/chflags.c
parente2049d17a0fe36e07cbd944504fa6c8fe68832bf (diff)
downloadglibc-5d2556c4fa4629b1c3adf59f29c699f00d4122ea.tar.gz
glibc-5d2556c4fa4629b1c3adf59f29c699f00d4122ea.tar.xz
glibc-5d2556c4fa4629b1c3adf59f29c699f00d4122ea.zip
hurd: fix f?chflags prototypes, declare them and their flags
Diffstat (limited to 'sysdeps/mach/hurd/chflags.c')
-rw-r--r--sysdeps/mach/hurd/chflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/chflags.c b/sysdeps/mach/hurd/chflags.c
index 07a8b1fe0f..f088f9b437 100644
--- a/sysdeps/mach/hurd/chflags.c
+++ b/sysdeps/mach/hurd/chflags.c
@@ -24,7 +24,7 @@
 
 /* XXX shouldn't this be __chflags? */
 int
-chflags (const char *file, int flags)
+chflags (const char *file, unsigned long int flags)
 {
   error_t err;
   file_t port = __file_name_lookup (file, 0, 0);