Unswap perm and omode in fsfcreate call (Michael Teichgräber)

This commit is contained in:
rsc 2007-05-09 00:06:11 +00:00
parent d7158243a6
commit e54f9a4ad2

View file

@ -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;