summary refs log tree commit diff
path: root/sysdeps/mach/hurd/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/open.c')
-rw-r--r--sysdeps/mach/hurd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/open.c b/sysdeps/mach/hurd/open.c
index 98fa41091e..489e5577b8 100644
--- a/sysdeps/mach/hurd/open.c
+++ b/sysdeps/mach/hurd/open.c
@@ -25,7 +25,7 @@
 /* Open FILE with access OFLAG.  If OFLAG includes O_CREAT,
    a third argument is the file protection.  */
 int
-__open (char *file, int oflag, ...)
+__open (const char *file, int oflag, ...)
 {
   mode_t mode;
   io_t port;