~kris/9p

9hist

33da0b50249e377dabc6511fe1b99f3ada9862b8 — David du Colombier 24 years ago 94895fb
Plan 9 from Bell Labs 2001-12-06
1 files changed, 1 insertions(+), 1 deletions(-)

M port/devmnt.c
M port/devmnt.c => port/devmnt.c +1 -1
@@ 517,7 517,7 @@ mntopencreate(int type, Chan *c, char *name, int omode, ulong perm)
	c->offset = 0;
	c->mode = openmode(omode);
	c->iounit = r->reply.iounit;
	if(c->iounit > m->msize-IOHDRSZ)
	if(c->iounit == 0 || c->iounit > m->msize-IOHDRSZ)
		c->iounit = m->msize-IOHDRSZ;
	c->flag |= COPEN;
	poperror();