diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-27 15:53:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-27 15:53:14 +0000 |
commit | f7ea1674c3499cc08e0e9d39ae7672ff597e517f (patch) | |
tree | bc38fd2862755b7a8f5f78ebffb9db114be9791d | |
parent | f7ac2b805eecb132afc82ceb593b9654fff948ca (diff) |
Gremlin crept in; found by drahn@
-rw-r--r-- | sys/dev/ic/osiop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c index 953b948a82d..e54b4a5af07 100644 --- a/sys/dev/ic/osiop.c +++ b/sys/dev/ic/osiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osiop.c,v 1.22 2004/12/26 21:22:13 miod Exp $ */ +/* $OpenBSD: osiop.c,v 1.23 2004/12/27 15:53:13 miod Exp $ */ /* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */ /* @@ -678,7 +678,7 @@ osiop_scsidone(acb, status) ~(1 << periph->lun); sc->sc_active--; OSIOP_TRACE('d', 'a', status, 0); - } else if (sc->ready_list.tqh_last == TAILQ_NEXT(acb, chain)) { + } else if (sc->ready_list.tqh_last == &TAILQ_NEXT(acb, chain)) { TAILQ_REMOVE(&sc->ready_list, acb, chain); OSIOP_TRACE('d', 'r', status, 0); } else { |