summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-09-01 04:51:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-09-01 04:51:25 +0000
commit9951897a9b740fdba139884bcd18968ee99c23db (patch)
tree5123e32aeb4621bcbe052d371c16f570aa182ba4
parentd9faa700b8f240d0d9c3244ead4f0bc0d130f10c (diff)
Restore compilability after bufq changes
-rw-r--r--sys/scsi/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index fe2815bebce..98cd5bab884 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.208 2010/09/01 01:38:12 dlg Exp $ */
+/* $OpenBSD: sd.c,v 1.209 2010/09/01 04:51:24 miod Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -290,7 +290,7 @@ sdactivate(struct device *self, int act)
break;
case DVACT_DEACTIVATE:
sc->flags |= SDF_DYING;
- bufq_drain(sc->sc_bufq);
+ bufq_drain(&sc->sc_bufq);
break;
}
return (rv);