summaryrefslogtreecommitdiff
path: root/sys/src/9/kw
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-11-22 22:56:34 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-11-22 22:56:34 +0100
commit98f47d5867cbbaa06f2c9080c301c9191e196205 (patch)
treeb3cd1e439a63619058ea0c6f58824ff0aaf71dce /sys/src/9/kw
parent55d31f2cab0101dfbdeb2857e2fce2629080cf02 (diff)
kernel: more kproc pexit() and sleep error handling
Diffstat (limited to 'sys/src/9/kw')
-rw-r--r--sys/src/9/kw/ether1116.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/kw/ether1116.c b/sys/src/9/kw/ether1116.c
index b60c70a49..c119f2aa2 100644
--- a/sys/src/9/kw/ether1116.c
+++ b/sys/src/9/kw/ether1116.c
@@ -776,6 +776,8 @@ rcvproc(void* arg)
ether = arg;
ctlr = ether->ctlr;
+ while(waserror())
+ ;
for(;;){
tsleep(&ctlr->rrendez, gotinput, ctlr, 10*1000);
ilock(ctlr);