(_hurd_set_host_config): Cast second arg to __file_name_split.
authordrepper <drepper>
Sun, 16 Mar 1997 17:39:22 +0000 (17:39 +0000)
committerdrepper <drepper>
Sun, 16 Mar 1997 17:39:22 +0000 (17:39 +0000)
hurd/set-host.c

index 5c905d8..eee50fc 100644 (file)
@@ -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;