Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2009 19:40:09 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196660 - head/sys/dev/ahci
Message-ID:  <200908301940.n7UJe9w0003813@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



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