summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-04-24 20:34:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-04-24 20:34:54 +0000
commit04614af0aa26c1612c7498901b23d8ffa6b8f2e4 (patch)
treeb5c8ff685a5c12d50dbcb2298aca4d99d4467c66 /sys
parent6aa676a72be866aae74bc694840d8644a4b963a1 (diff)
Do not ignore vs_poll() return value.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/dev/vs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c
index 5725ad301d1..d77c832095c 100644
--- a/sys/arch/mvme88k/dev/vs.c
+++ b/sys/arch/mvme88k/dev/vs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vs.c,v 1.31 2004/04/24 19:51:48 miod Exp $ */
+/* $OpenBSD: vs.c,v 1.32 2004/04/24 20:34:53 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -402,7 +402,7 @@ vs_scsicmd(xs)
/*
* Wait until we can use the command queue entry.
* Should only have to wait if the master command
- * queue entry is busy and we are polling.
+ * queue entry is busy and we are polling.
*/
while (cqep->cqe_QECR & M_QECR_GO);
@@ -439,8 +439,7 @@ vs_scsicmd(xs)
if (flags & SCSI_POLL) {
/* poll for the command to complete */
- vs_poll(sc, xs);
- return (COMPLETE);
+ return vs_poll(sc, xs);
}
return (SUCCESSFULLY_QUEUED);
}