diff options
| author | Neel Natu <neel@FreeBSD.org> | 2013-02-10 19:35:40 +0000 |
|---|---|---|
| committer | Neel Natu <neel@FreeBSD.org> | 2013-02-10 19:35:40 +0000 |
| commit | f37ba7263208005ad42532cf6f4ef20a50a4a99c (patch) | |
| tree | 4d59547fc406283374b9ec9a93847248dbe47e41 /usr.sbin/pciconf | |
| parent | fd9778c23634500624edae01801e18e87b2b9fcf (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pciconf')
| -rw-r--r-- | usr.sbin/pciconf/pciconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pciconf/pciconf.c b/usr.sbin/pciconf/pciconf.c index 52ad09a70962..58ffddd9cfab 100644 --- a/usr.sbin/pciconf/pciconf.c +++ b/usr.sbin/pciconf/pciconf.c @@ -290,7 +290,7 @@ list_bars(int fd, struct pci_conf *p) } printf(" bar [%02x] = type %s, range %2d, base %#jx, ", PCIR_BAR(i), type, range, (uintmax_t)base); - printf("size %2d, %s\n", (int)bar.pbi_length, + printf("size %ju, %s\n", (uintmax_t)bar.pbi_length, bar.pbi_enabled ? "enabled" : "disabled"); } } |
