summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);