summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-01-29 22:38:36 +0000
committersos <sos@FreeBSD.org>2000-01-29 22:38:36 +0000
commit4dae551c076e8bd13982c718531bb398ed5350b3 (patch)
treec35ee0dc96e3d173f8d7bb4d5d49fc0df2383e6b
parent1f69dc7620390623ca85d36cc7792af07d05bf55 (diff)
downloadFreeBSD-src-4dae551c076e8bd13982c718531bb398ed5350b3.zip
FreeBSD-src-4dae551c076e8bd13982c718531bb398ed5350b3.tar.gz
cosmetic changes only.
-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 dc4e648..0f3c98e 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[(atp->unit==ATA_MASTER)?0:1] = atp;
+ atp->controller->dev_softc[ATA_DEV(atp->unit)] = atp;
}
int32_t
OpenPOWER on IntegriCloud