Fix build with INVARIANTS.

This commit is contained in:
Alexander Motin 2009-08-30 19:40:09 +00:00
parent 7606b4450b
commit 4e931d3116

View File

@ -1072,7 +1072,7 @@ ahci_begin_transaction(device_t dev, union ccb *ccb)
while (ch->slot[tag].state != AHCI_SLOT_EMPTY) {
if (++tag >= ch->numslots)
tag = 0;
KASSERT(tag != ch->lastslot, "ahci: ALL SLOTS BUSY!");
KASSERT(tag != ch->lastslot, ("ahci: ALL SLOTS BUSY!"));
}
ch->lastslot = tag;
/* Occupy chosen slot. */