aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahci
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-08-30 19:40:09 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-08-30 19:40:09 +0000
commit4e931d31163c251d8f7da2307e706941bed76d3f (patch)
tree1158eb0459594c33a316059b8d5042eb28ecc92e /sys/dev/ahci
parent7606b4450b7de96a350d2c4b4c9a21d05d9e18e4 (diff)
downloadsrc-4e931d31163c251d8f7da2307e706941bed76d3f.tar.gz
src-4e931d31163c251d8f7da2307e706941bed76d3f.zip
Fix build with INVARIANTS.
Notes
Notes: svn path=/head/; revision=196660
Diffstat (limited to 'sys/dev/ahci')
-rw-r--r--sys/dev/ahci/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c
index 536849063fb2..189ab121e129 100644
--- a/sys/dev/ahci/ahci.c
+++ b/sys/dev/ahci/ahci.c
@@ -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. */