summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/rc.c')
-rw-r--r--sys/i386/isa/rc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c
index 613f8cb..aeeb9c5 100644
--- a/sys/i386/isa/rc.c
+++ b/sys/i386/isa/rc.c
@@ -760,8 +760,9 @@ again:
error = EBUSY;
goto out;
}
- if (error = tsleep(&rc->rc_rcb,
- TTIPRI|PCATCH, "rcbi", 0))
+ error = tsleep(&rc->rc_rcb,
+ TTIPRI|PCATCH, "rcbi", 0);
+ if (error)
goto out;
goto again;
}
OpenPOWER on IntegriCloud