Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2009 19:38:53 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167986 for review
Message-ID:  <200908301938.n7UJcrru042792@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167986

Change 167986 by mav@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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908301938.n7UJcrru042792>