diff options
-rw-r--r-- | lib/makepath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/makepath.c b/lib/makepath.c index 5c6112414..98b78a1e6 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -127,7 +127,7 @@ make_path (argpath, mode, parent_mode, owner, group, verbose_fmt_string) slash = dirpath; while (*slash == '/') slash++; - while (slash = index (slash, '/')) + while ((slash = index (slash, '/'))) { *slash = '\0'; if (stat (dirpath, &stats)) |