diff options
author | Alexander Motin <mav@FreeBSD.org> | 2009-02-15 10:41:42 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2009-02-15 10:41:42 +0000 |
commit | f8dacb0467a2a0ef14d764743c7a745042dcde3b (patch) | |
tree | 6fbb84589728fa4f24b0d878b702b0fb81b77d46 /usr.sbin/pciconf | |
parent | 8e6f99f6486cabd03e55c5a0d5da4cbb62518120 (diff) | |
download | src-f8dacb0467a2a0ef14d764743c7a745042dcde3b.tar.gz src-f8dacb0467a2a0ef14d764743c7a745042dcde3b.zip |
Notes
Diffstat (limited to 'usr.sbin/pciconf')
-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 987c959aa3e3..29ec6af881ec 100644 --- a/usr.sbin/pciconf/cap.c +++ b/usr.sbin/pciconf/cap.c @@ -427,9 +427,9 @@ cap_pciaf(int fd, struct pci_conf *p, uint8_t ptr) uint8_t cap; cap = read_config(fd, &p->pc_sel, ptr + PCIR_PCIAF_CAP, 1); - printf("PCI Advanced Features: %s%s", - (cap & PCIM_PCIAFCAP_FLR)?"FLR ":"", - (cap & PCIM_PCIAFCAP_TP)?"TP ":""); + printf("PCI Advanced Features:%s%s", + cap & PCIM_PCIAFCAP_FLR ? " FLR" : "", + cap & PCIM_PCIAFCAP_TP ? " TP" : ""); } void |