mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
- Fix build with INVARIANTS enabled.
This commit is contained in:
parent
5c04df6cb6
commit
bdb08649eb
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue