diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-12-13 05:49:04 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-12-13 05:49:04 +0000 |
commit | 123c95096cf9f2173d0c5ff18468895ca84ec5a8 (patch) | |
tree | be0044049833be8567711e96ddc2d08b07dc838f /sys/dev/ic | |
parent | 412c0c96955cbe33e93e89b20bcacc14842fe4fa (diff) |
Oops. Missed one chunk when sync'ing with FreeBSD r1.30.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/aic79xx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index 9e161354e4f..a938a659c4e 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx.c,v 1.21 2004/12/13 04:07:25 krw Exp $ */ +/* $OpenBSD: aic79xx.c,v 1.22 2004/12/13 05:49:03 krw Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -7502,7 +7502,8 @@ ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, /* FALLTHROUGH */ case SEARCH_REMOVE: ahd_rem_wscb(ahd, scbid, prev, next, tid); - if (prev == SCB_LIST_NULL) + *list_tail = prev; + if (SCBID_IS_NULL(prev)) *list_head = next; break; case SEARCH_PRINT: |