PERFORCE change 167986 for review

Alexander Motin mav at FreeBSD.org
Sun Aug 30 19:38:54 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=167986

Change 167986 by mav at mav_mavbook on 2009/08/30 19:38:30

	Fix build with INVARIANTS.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#58 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#58 (text+ko) ====

@@ -1072,7 +1072,7 @@
 	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 p4-projects mailing list