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. */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to