summaryrefslogtreecommitdiff
path: root/appl/cmd/mkdir.b
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-01-16 13:39:58 +0000
committerCharles.Forsyth <devnull@localhost>2008-01-16 13:39:58 +0000
commit3f1f06c5d12b24c4061e5123acabf72348ff45a2 (patch)
treed40487b0f5d3a46c5e1cefe288f9a74b8494d9a7 /appl/cmd/mkdir.b
parentca1042d3d05e5e9b2b5094b04197c96ec3b34bfe (diff)
20080116-1340
Diffstat (limited to 'appl/cmd/mkdir.b')
-rw-r--r--appl/cmd/mkdir.b2
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/cmd/mkdir.b b/appl/cmd/mkdir.b
index 21e03ee7..55a4d564 100644
--- a/appl/cmd/mkdir.b
+++ b/appl/cmd/mkdir.b
@@ -29,7 +29,7 @@ init(nil: ref Draw->Context, argv: list of string)
for(; argv != nil; argv = tl argv){
dir := hd argv;
if(!pflag){
- (ok, d) := sys->stat(dir);
+ (ok, nil) := sys->stat(dir);
if(ok < 0){
if(mkdir(dir) < 0)
e = "error";