summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sutils/clookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sutils/clookup.c b/sutils/clookup.c
index 97a04b51..1858efb9 100644
--- a/sutils/clookup.c
+++ b/sutils/clookup.c
@@ -56,8 +56,8 @@ file_name_lookup_carefully (const char *name, int flags, mode_t mode)
mach_port_t *node)
{
error_t err;
- const char *head, *tail;
- char *slash = index (name, '/');
+ const char *tail;
+ char *slash = index (name, '/'), *head;
if (slash)
{