about summary refs log tree commit diff
path: root/hurd/set-host.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/set-host.c')
-rw-r--r--hurd/set-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/set-host.c b/hurd/set-host.c
index 5c905d8f04..eee50fc08e 100644
--- a/hurd/set-host.c
+++ b/hurd/set-host.c
@@ -28,7 +28,7 @@ _hurd_set_host_config (const char *item, const char *value, size_t valuelen)
   mach_msg_type_number_t nwrote;
   file_t new, dir;
 
-  dir = __file_name_split (item, &item);
+  dir = __file_name_split (item, (char **)&item);
   if (dir == MACH_PORT_NULL)
     return -1;