summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-02-20 14:10:23 +0000
committermav <mav@FreeBSD.org>2009-02-20 14:10:23 +0000
commit69ca5576d6206f22757318ac56c4758611c59937 (patch)
tree8096f48f99b12b1304dbb2cc4fe00ca64b94c8a9 /sys
parent72727e8d9fd98552cebb26b2a25985f9bf6f0d65 (diff)
downloadFreeBSD-src-69ca5576d6206f22757318ac56c4758611c59937.zip
FreeBSD-src-69ca5576d6206f22757318ac56c4758611c59937.tar.gz
Fix pc98 build error due to missing variable.
Submitted by: avg
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ata/ata-cbus.c1
1 files changed, 1 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud