From owner-svn-src-head@FreeBSD.ORG Sun Aug 30 19:40:09 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2643106568B; Sun, 30 Aug 2009 19:40:09 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C20E98FC0A; Sun, 30 Aug 2009 19:40:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UJe9LC003815; Sun, 30 Aug 2009 19:40:09 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n7UJe9w0003813; Sun, 30 Aug 2009 19:40:09 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <200908301940.n7UJe9w0003813@svn.freebsd.org> From: Alexander Motin Date: Sun, 30 Aug 2009 19:40:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r196660 - head/sys/dev/ahci X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 19:40:09 -0000 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. */