summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/at91/at91_cfata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/at91/at91_cfata.c b/sys/arm/at91/at91_cfata.c
index dcddcea..dcc06bb 100644
--- a/sys/arm/at91/at91_cfata.c
+++ b/sys/arm/at91/at91_cfata.c
@@ -131,9 +131,9 @@ ata_at91_release_resource(device_t dev, device_t child, int type, int rid,
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);
}
OpenPOWER on IntegriCloud