aboutsummaryrefslogtreecommitdiff
path: root/sutils/clookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sutils/clookup.c')
-rw-r--r--sutils/clookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sutils/clookup.c b/sutils/clookup.c
index 0232b634..97a04b51 100644
--- a/sutils/clookup.c
+++ b/sutils/clookup.c
@@ -51,12 +51,12 @@ file_name_lookup_carefully (const char *name, int flags, mode_t mode)
sure the result node doesn't have a passive translator with no active
translator started (but we make an exception for symlinks) -- if it
does, we just return ENXIO. */
- error_t lookup (file_t dir, char *name, int flags, mode_t mode,
+ error_t lookup (file_t dir, const char *name, int flags, mode_t mode,
retry_type *retry, string_t retry_name,
mach_port_t *node)
{
error_t err;
- char *head, *tail;
+ const char *head, *tail;
char *slash = index (name, '/');
if (slash)