plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 06421c01b9a73b681fe7be8ded2bc7441c652be7
parent 9a939d5f194b7430553885926612adf10b265205
Author: Russ Cox <rsc@swtch.com>
Date:   Fri,  4 Jul 2008 16:35:52 -0400

lib9pclient: clear tx.extension for 9P2000.u

Diffstat:
Msrc/lib9pclient/create.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/lib9pclient/create.c b/src/lib9pclient/create.c @@ -14,6 +14,7 @@ fsfcreate(CFid *fid, char *name, int mode, ulong perm) tx.fid = fid->fid; tx.mode = mode; tx.perm = perm; + tx.extension = nil; if(_fsrpc(fid->fs, &tx, &rx, 0) < 0) return -1; fid->mode = mode;