diff options
author | imp <imp@FreeBSD.org> | 2001-10-17 05:33:51 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-10-17 05:33:51 +0000 |
commit | 2d3858aafb81e3c519447af026de85d64f9c5e3a (patch) | |
tree | 6678ae15b247aeab0eefb56a63877332328a2f62 /sys/pccard | |
parent | 8f403ef071ba98fd2b1b17b70942066a52731870 (diff) | |
download | FreeBSD-src-2d3858aafb81e3c519447af026de85d64f9c5e3a.zip FreeBSD-src-2d3858aafb81e3c519447af026de85d64f9c5e3a.tar.gz |
Print 4 per line. To do this, we test against i % 16 == 0 rather than i % 4
since that's always true for this loop.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pcic_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index ddfd237..f66edca 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -1127,7 +1127,7 @@ pcic_pci_print_config(device_t dev) device_printf(dev, "PCI Configuration space:"); for (i = 0; i < 256; i += 4) { - if (i % 4 == 0) + if (i % 16 == 0) printf("\n 0x%02x: ", i); printf("0x%08x ", pci_read_config(dev, i, 4)); } |