svn commit: r191961 - head/sys/arm/at91

Stanislav Sedov stas at FreeBSD.org
Sun May 10 11:05:23 UTC 2009


Author: stas
Date: Sun May 10 11:05:22 2009
New Revision: 191961
URL: http://svn.freebsd.org/changeset/base/191961

Log:
  - Fix build with INVARIANTS enabled.

Modified:
  head/sys/arm/at91/at91_cfata.c

Modified: head/sys/arm/at91/at91_cfata.c
==============================================================================
--- head/sys/arm/at91/at91_cfata.c	Sun May 10 10:32:29 2009	(r191960)
+++ head/sys/arm/at91/at91_cfata.c	Sun May 10 11:05:22 2009	(r191961)
@@ -131,9 +131,9 @@ ata_at91_release_resource(device_t dev, 
     struct resource *r)
 {
 
-	KASSERT(type == SYS_RES_IRQ && *rid == ATA_IRQ_RID,
+	KASSERT(type == SYS_RES_IRQ && rid == ATA_IRQ_RID,
 	    ("[at91_cfata, %d]: illegal resource request (type %u rid %u)",
-	    __LINE__, type, *rid));
+	    __LINE__, type, rid));
 	return (0);
 }
 


More information about the svn-src-all mailing list