summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-09-01 04:51:24 +0000
committermiod <miod@openbsd.org>2010-09-01 04:51:24 +0000
commit7369504ea7ea8273ecfff664ae4de0cd8f94628c (patch)
tree610d8624f1148a240c278440d4edf578255f62d2
parentata information vpd page id (diff)
downloadwireguard-openbsd-7369504ea7ea8273ecfff664ae4de0cd8f94628c.tar.xz
wireguard-openbsd-7369504ea7ea8273ecfff664ae4de0cd8f94628c.zip
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);