Fix a braino ..

This commit is contained in:
Søren Schmidt 2000-11-18 12:14:35 +00:00
parent 612276f48c
commit 374940a184

View File

@ -1314,7 +1314,7 @@ ata_reset(struct ata_softc *scp, int *mask)
if (bootverbose)
ata_printf(scp, -1, "mask=%02x status0=%02x status1=%02x\n",
*mask, status0, status1);
if (!mask)
if (!*mask)
return;
if (*mask & 0x01 && ostat0 != 0x00 && !(scp->devices & ATA_ATAPI_MASTER)) {