summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 287fdbde779..71361c38ed8 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.17 1996/07/12 08:57:57 pefo Exp $ */
+/* $OpenBSD: sd.c,v 1.18 1996/08/07 00:09:17 deraadt Exp $ */
/* $NetBSD: sd.c,v 1.100.4.1 1996/06/04 23:14:08 thorpej Exp $ */
/*
@@ -601,9 +601,11 @@ sdstart(v)
(u_char *)bp->b_data, bp->b_bcount,
SDRETRIES, 10000, bp, SCSI_NOSLEEP |
((bp->b_flags & B_READ) ? SCSI_DATA_IN : SCSI_DATA_OUT));
- if (error)
+ if (error) {
+ disk_unbusy(&sd->sc_dk, 0);
printf("%s: not queued, error %d\n",
sd->sc_dev.dv_xname, error);
+ }
}
}