diff options
author | Russ Cox <rsc@swtch.com> | 2012-08-05 13:10:47 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-08-05 13:10:47 -0400 |
commit | fee1a4639b69fb7402adc31432f492007e72d6d9 (patch) | |
tree | 10fe4080684ffabeb02967bf78af99ecfcd2cb5c /src/cmd/disk | |
parent | d24b8141673530ad65407434918136543c228df1 (diff) | |
download | plan9port-fee1a4639b69fb7402adc31432f492007e72d6d9.tar.gz plan9port-fee1a4639b69fb7402adc31432f492007e72d6d9.tar.bz2 plan9port-fee1a4639b69fb7402adc31432f492007e72d6d9.zip |
disk/mkfs,disk/mkext: fix mkdir conflict
R=rsc
http://codereview.appspot.com/6445076
Diffstat (limited to 'src/cmd/disk')
-rw-r--r-- | src/cmd/disk/mkext.c | 2 | ||||
-rw-r--r-- | src/cmd/disk/mkfs.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/disk/mkext.c b/src/cmd/disk/mkext.c index 05190d04..d576d24f 100644 --- a/src/cmd/disk/mkext.c +++ b/src/cmd/disk/mkext.c @@ -2,6 +2,8 @@ #include <libc.h> #include <bio.h> +#define mkdir plan9mkdir + enum{ LEN = 8*1024, NFLDS = 6, /* filename, modes, uid, gid, mtime, bytes */ diff --git a/src/cmd/disk/mkfs.c b/src/cmd/disk/mkfs.c index 1e70ab76..48de7022 100644 --- a/src/cmd/disk/mkfs.c +++ b/src/cmd/disk/mkfs.c @@ -3,6 +3,7 @@ #include <auth.h> #include <bio.h> +#define mkdir plan9mkdir #define getmode plan9_getmode #define setuid plan9_setuid |