summaryrefslogtreecommitdiff
path: root/sys/dev/vscsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vscsi.c')
-rw-r--r--sys/dev/vscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index a6874058a60..fc93822860b 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.5 2010/01/09 23:15:06 krw Exp $ */
+/* $OpenBSD: vscsi.c,v 1.6 2010/03/14 01:43:43 dlg Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -522,7 +522,7 @@ vscsiclose(dev_t dev, int flags, int mode, struct proc *p)
sc->sc_opened = 0;
while ((ccb = TAILQ_FIRST(&sc->sc_ccb_t2i)) != NULL) {
- TAILQ_REMOVE(&sc->sc_ccb_i2t, ccb, ccb_entry);
+ TAILQ_REMOVE(&sc->sc_ccb_t2i, ccb, ccb_entry);
polled = ISSET(ccb->ccb_xs->flags, SCSI_POLL);
vscsi_xs_stuffup(ccb->ccb_xs);