diff --git a/pcireg/PCIREG.EXE b/pcireg/PCIREG.EXE index 1e38ae9..ef128e2 100644 Binary files a/pcireg/PCIREG.EXE and b/pcireg/PCIREG.EXE differ diff --git a/pcireg/pcireg.c b/pcireg/pcireg.c index 5be6f21..76c88ef 100644 --- a/pcireg/pcireg.c +++ b/pcireg/pcireg.c @@ -913,8 +913,8 @@ retry_buf: /* Warn if the mapping is incomplete. */ j = sizeof(irq_bitmap) - i; - if (j < 4) - printf("/* WARNING: only %d IRQ link mappings found */\n", j); + if (j % 4) + printf("/* WARNING: %d IRQ link mappings found */\n", j); /* Copy entries to temporary array. */ if (j > sizeof(temp))