]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix
authorBen Gras <ben@minix3.org>
Mon, 10 Oct 2005 09:03:11 +0000 (09:03 +0000)
committerBen Gras <ben@minix3.org>
Mon, 10 Oct 2005 09:03:11 +0000 (09:03 +0000)
commands/simple/mkdir.c

index 9f837b5281159a11244d8654943ea152ac5f01cb..d02734676128b1e0c68b347da0ffbace66fee449 100755 (executable)
@@ -192,7 +192,7 @@ char **argv;
 int makepath(fordir)
 char *fordir;
 {
-  char parent[PATH_MAX + 1], *end;
+  char parent[PATH_MAX + 1], *end, *last;
 
   strcpy(parent, fordir);
   do {