From e54f9a4ad2f163f9455f3de4b3e5574884391790 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 9 May 2007 00:06:11 +0000 Subject: =?UTF-8?q?Unswap=20perm=20and=20omode=20in=20fsfcreate=20call=20(?= =?UTF-8?q?Michael=20Teichgr=C3=A4ber)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cmd/9pfuse/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd') 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; -- cgit v1.2.3