diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-08-30 18:35:31 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-08-30 18:35:31 +0000 |
commit | aeb0ead475d07a44caa3dffc86ad67e470ebe084 (patch) | |
tree | 7d944828553ce5c29e4e81b3653ff084bc0ec91a /sys/i386/isa/atapi.c | |
parent | dc1e390721227527a9b5bcf202aff778a2282cd8 (diff) | |
download | FreeBSD-src-aeb0ead475d07a44caa3dffc86ad67e470ebe084.zip FreeBSD-src-aeb0ead475d07a44caa3dffc86ad67e470ebe084.tar.gz |
Wrong sleep addr passed to wakeup.
Submitted by: Vsevolod Lobko seva@sevasoft.alex-ua.com
Diffstat (limited to 'sys/i386/isa/atapi.c')
-rw-r--r-- | sys/i386/isa/atapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/atapi.c b/sys/i386/isa/atapi.c index 0efa4d5..8576373 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; |