From 430dee108ae924242d0a29da94626ae1519cb8ef Mon Sep 17 00:00:00 2001 From: hannken Date: Sun, 21 Jan 1996 09:25:34 +0000 Subject: [PATCH] Corrected typo when removing CCB's from the hash list. --- sys/dev/isa/aha.c | 4 +++- sys/dev/isa/aha1542.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index e454c5879b2..504ae2b5c69 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -758,7 +758,9 @@ aha_free_ccb(aha, ccb, flags) *hashccb = (*hashccb)->nexthash; break; } - (*hashccb) = (*hashccb)->nexthash; + hashccb = &(*hashccb)->nexthash; + } + } ccb->flags = CCB_FREE; diff --git a/sys/dev/isa/aha1542.c b/sys/dev/isa/aha1542.c index e454c5879b2..504ae2b5c69 100644 --- a/sys/dev/isa/aha1542.c +++ b/sys/dev/isa/aha1542.c @@ -758,7 +758,9 @@ aha_free_ccb(aha, ccb, flags) *hashccb = (*hashccb)->nexthash; break; } - (*hashccb) = (*hashccb)->nexthash; + hashccb = &(*hashccb)->nexthash; + } + } ccb->flags = CCB_FREE; -- 2.20.1