From 9602b7c3fbb30c5563b61f05b31dd11277ed8ce6 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sun, 2 Nov 1997 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1997-11-02 --- port/fault.c | 4 ++-- port/qio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/port/fault.c b/port/fault.c index f694e5f1a55a4a07cf3d0485bd11c3539c29fc81..c99decfc29eb3197d470464337ac0d519a96159d 100644 --- a/port/fault.c +++ b/port/fault.c @@ -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); diff --git a/port/qio.c b/port/qio.c index fb6e5babe7a4a1ee03f1d974d04a42281c889405..7d1ad976785792aabd0f51336b62c9fe5a9b26e2 100644 --- a/port/qio.c +++ b/port/qio.c @@ -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){