From: Ben Gras Date: Mon, 10 Oct 2005 09:03:11 +0000 (+0000) Subject: Fix X-Git-Tag: v3.1.2a~651 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=2e60aad2bb834c276f47c13d25a204c5636e2e98;p=minix.git Fix --- diff --git a/commands/simple/mkdir.c b/commands/simple/mkdir.c index 9f837b528..d02734676 100755 --- a/commands/simple/mkdir.c +++ b/commands/simple/mkdir.c @@ -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 {