~kris/9p

9hist

9602b7c3fbb30c5563b61f05b31dd11277ed8ce6 — David du Colombier 28 years ago 9875fbf
Plan 9 from Bell Labs 1997-11-02
2 files changed, 3 insertions(+), 3 deletions(-)

M port/fault.c
M port/qio.c
M port/fault.c => port/fault.c +2 -2
@@ 228,7 228,7 @@ pio(Segment *s, ulong addr, ulong soff, Page **p)

		n = devtab[c->type]->read(c, kaddr, ask, daddr);
		if(n != ask)
			error(Eioload);
			faulterror(Eioload);
		if(ask < BY2PG)
			memset(kaddr+ask, 0, BY2PG-ask);



@@ 256,7 256,7 @@ pio(Segment *s, ulong addr, ulong soff, Page **p)

		n = devtab[c->type]->read(c, kaddr, BY2PG, daddr);
		if(n != BY2PG)
			error(Eioload);
			faulterror(Eioload);

		poperror();
		kunmap(k);

M port/qio.c => port/qio.c +1 -1
@@ 838,7 838,7 @@ qbread(Queue *q, int len)
	} else
		dowakeup = 0;

	/* split block if its too big and this is not a message oriented queue */
	/* split block if it's too big and this is not a message-oriented queue */
	nb = b;
	if(n > len){
		if((q->state&Qmsg) == 0){