mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
Unswap perm and omode in fsfcreate call (Michael Teichgräber)
This commit is contained in:
parent
d7158243a6
commit
e54f9a4ad2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue