pcireg: Change 86Box mode IRQ link warning to multiples of 4

This commit is contained in:
RichardG867
2021-08-15 00:22:35 -03:00
parent d9288a06da
commit 04903bc721
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -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))