From 5ef84cd20e3c4511be8ea7d3ed11aab907675150 Mon Sep 17 00:00:00 2001 From: Luoqi Chen Date: Mon, 30 Aug 1999 18:35:31 +0000 Subject: [PATCH] Wrong sleep addr passed to wakeup. Submitted by: Vsevolod Lobko seva@sevasoft.alex-ua.com --- sys/i386/isa/atapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/isa/atapi.c b/sys/i386/isa/atapi.c index 0efa4d59ba4b..857637371456 100644 --- a/sys/i386/isa/atapi.c +++ b/sys/i386/isa/atapi.c @@ -508,7 +508,7 @@ static struct atapicmd *atapi_alloc (struct atapi *ata) static void atapi_free (struct atapi *ata, struct atapicmd *ac) { if (! ata->free) - wakeup ((caddr_t)&ata); + wakeup ((caddr_t)ata); ac->busy = 0; ac->next = ata->free; ata->free = ac;