From 4dae551c076e8bd13982c718531bb398ed5350b3 Mon Sep 17 00:00:00 2001 From: sos Date: Sat, 29 Jan 2000 22:38:36 +0000 Subject: cosmetic changes only. --- sys/dev/ata/atapi-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1