diff options
Diffstat (limited to 'sys/dev/ata/atapi-all.c')
-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 |