aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-05-09 00:06:11 +0000
committerrsc <devnull@localhost>2007-05-09 00:06:11 +0000
commite54f9a4ad2f163f9455f3de4b3e5574884391790 (patch)
tree9e32e53cd7867dbe7474fe9c77f9bc764cef7a2e /src/cmd/9pfuse
parentd7158243a69ecb40abe619656503c9fd25c80786 (diff)
downloadplan9port-e54f9a4ad2f163f9455f3de4b3e5574884391790.tar.gz
plan9port-e54f9a4ad2f163f9455f3de4b3e5574884391790.tar.bz2
plan9port-e54f9a4ad2f163f9455f3de4b3e5574884391790.zip
Unswap perm and omode in fsfcreate call (Michael Teichgräber)
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r--src/cmd/9pfuse/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c
index ade1eb7d..15cbb8fb 100644
--- a/src/cmd/9pfuse/main.c
+++ b/src/cmd/9pfuse/main.c
@@ -610,7 +610,7 @@ _fusecreate(uvlong nodeid, char *name, int perm, int ismkdir, int omode, struct
*err = errstr2errno();
return nil;
}
- if(fsfcreate(newfid, name, perm, omode) < 0){
+ if(fsfcreate(newfid, name, omode, perm) < 0){
*err = errstr2errno();
fsclose(newfid);
return nil;