lib9pclient: clear tx.extension for 9P2000.u
This commit is contained in:
parent
9a939d5f19
commit
06421c01b9
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ fsfcreate(CFid *fid, char *name, int mode, ulong perm)
|
||||||
tx.fid = fid->fid;
|
tx.fid = fid->fid;
|
||||||
tx.mode = mode;
|
tx.mode = mode;
|
||||||
tx.perm = perm;
|
tx.perm = perm;
|
||||||
|
tx.extension = nil;
|
||||||
if(_fsrpc(fid->fs, &tx, &rx, 0) < 0)
|
if(_fsrpc(fid->fs, &tx, &rx, 0) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
fid->mode = mode;
|
fid->mode = mode;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue