diff options
author | sos <sos@FreeBSD.org> | 2000-02-07 22:57:11 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-02-07 22:57:11 +0000 |
commit | a3a1cb67da99bf7ec2e1c0d9321f78e13d17bbc5 (patch) | |
tree | ff8436b78a724f057bc0701e18475fe4ba711033 /sys/dev | |
parent | 3dc85ae0b0ee806ba8f31f9aac5f451b12c26da8 (diff) | |
download | FreeBSD-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.c | 2 |
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 |