diff options
author | wma <wma@FreeBSD.org> | 2016-02-26 10:24:24 +0000 |
---|---|---|
committer | wma <wma@FreeBSD.org> | 2016-02-26 10:24:24 +0000 |
commit | 15f8acc5edf006b1923212d3a62cf21b853de03d (patch) | |
tree | 919d0cc6b6dfe3b12e7d8f7b3061f203a0aafae0 /usr.sbin | |
parent | 3ad5c70e916b469f068dc8ad647efd070683443f (diff) | |
download | FreeBSD-src-15f8acc5edf006b1923212d3a62cf21b853de03d.zip FreeBSD-src-15f8acc5edf006b1923212d3a62cf21b853de03d.tar.gz |
Change format string in pciconf EA to jx
Fix compilation error introduced by r296081
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pciconf/cap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c index 68130bb..c1098c1 100644 --- a/usr.sbin/pciconf/cap.c +++ b/usr.sbin/pciconf/cap.c @@ -657,13 +657,13 @@ cap_ea(int fd, struct pci_conf *p, uint8_t ptr) b++; } - printf("\n\t\t [%d] %s, %s, %s, base [0x%lx], size [0x%lx]" + printf("\n\t\t [%d] %s, %s, %s, base [0x%jx], size [0x%jx]" "\n\t\t\tPrimary properties [0x%x] (%s)" "\n\t\t\tSecondary properties [0x%x] (%s)", bei, ea_bei_to_name(bei), (flags & PCIM_EA_ENABLE ? "Enabled" : "Disabled"), - (flags & PCIM_EA_WRITABLE ? "Writable" : "Read-only"), - base, max_offset + 1, + (flags & PCIM_EA_WRITABLE ? "Writable" : "Read-only"), + (uintmax_t)base, (uintmax_t)(max_offset + 1), flags_pp, ea_prop_to_name(flags_pp), flags_sp, ea_prop_to_name(flags_sp)); } |