From 9951897a9b740fdba139884bcd18968ee99c23db Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 1 Sep 2010 04:51:25 +0000 Subject: Restore compilability after bufq changes --- sys/scsi/sd.c | 4 ++-- 1 file 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); -- cgit v1.2.3