summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-02-07 22:57:11 +0000
committersos <sos@FreeBSD.org>2000-02-07 22:57:11 +0000
commita3a1cb67da99bf7ec2e1c0d9321f78e13d17bbc5 (patch)
treeff8436b78a724f057bc0701e18475fe4ba711033 /sys/dev
parent3dc85ae0b0ee806ba8f31f9aac5f451b12c26da8 (diff)
downloadFreeBSD-src-a3a1cb67da99bf7ec2e1c0d9321f78e13d17bbc5.zip
FreeBSD-src-a3a1cb67da99bf7ec2e1c0d9321f78e13d17bbc5.tar.gz
Dont panic if no sub-driver is found.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/atapi-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c
index cb4be28..4920675 100644
--- a/sys/dev/ata/atapi-all.c
+++ b/sys/dev/ata/atapi-all.c
@@ -128,7 +128,7 @@ notfound:
atp = NULL;
}
/* store our softc */
- atp->controller->dev_softc[ATA_DEV(atp->unit)] = atp;
+ scp->dev_softc[ATA_DEV(atp->unit)] = atp;
}
int32_t
OpenPOWER on IntegriCloud