lib9pclient: clear tx.extension for 9P2000.u

This commit is contained in:
Russ Cox 2008-07-04 16:35:52 -04:00
parent 9a939d5f19
commit 06421c01b9

View file

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