diff options
author | rsc <devnull@localhost> | 2007-05-09 00:06:11 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-05-09 00:06:11 +0000 |
commit | e54f9a4ad2f163f9455f3de4b3e5574884391790 (patch) | |
tree | 9e32e53cd7867dbe7474fe9c77f9bc764cef7a2e /src/cmd/9pfuse | |
parent | d7158243a69ecb40abe619656503c9fd25c80786 (diff) | |
download | plan9port-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.c | 2 |
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; |