From 69ca5576d6206f22757318ac56c4758611c59937 Mon Sep 17 00:00:00 2001 From: mav Date: Fri, 20 Feb 2009 14:10:23 +0000 Subject: Fix pc98 build error due to missing variable. Submitted by: avg --- sys/dev/ata/ata-cbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ata/ata-cbus.c b/sys/dev/ata/ata-cbus.c index 1a39d29..98a0107 100644 --- a/sys/dev/ata/ata-cbus.c +++ b/sys/dev/ata/ata-cbus.c @@ -304,6 +304,7 @@ ata_cbuschannel_attach(device_t dev) static int ata_cbuschannel_detach(device_t dev) { + struct ata_channel *ch = device_get_softc(dev); if (!ch->attached) return (0); -- cgit v1.1