svn commit: r196660 - head/sys/dev/ahci

Alexander Motin mav at FreeBSD.org
Sun Aug 30 19:40:09 UTC 2009


Author: mav
Date: Sun Aug 30 19:40:09 2009
New Revision: 196660
URL: http://svn.freebsd.org/changeset/base/196660

Log:
  Fix build with INVARIANTS.

Modified:
  head/sys/dev/ahci/ahci.c

Modified: head/sys/dev/ahci/ahci.c
==============================================================================
--- head/sys/dev/ahci/ahci.c	Sun Aug 30 16:31:25 2009	(r196659)
+++ head/sys/dev/ahci/ahci.c	Sun Aug 30 19:40:09 2009	(r196660)
@@ -1072,7 +1072,7 @@ ahci_begin_transaction(device_t dev, uni
 	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. */


More information about the svn-src-all mailing list