summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-02-15 10:41:42 +0000
committermav <mav@FreeBSD.org>2009-02-15 10:41:42 +0000
commit67839729003ff70ccb650102e52868dde874221b (patch)
tree6fbb84589728fa4f24b0d878b702b0fb81b77d46 /usr.sbin
parentc77b4d9c80c057656da35a310ce37f07de6c6123 (diff)
downloadFreeBSD-src-67839729003ff70ccb650102e52868dde874221b.zip
FreeBSD-src-67839729003ff70ccb650102e52868dde874221b.tar.gz
Tune output to remove trailing space.
Submitted by: Christoph Mallon
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pciconf/cap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c
index 987c959..29ec6af 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
OpenPOWER on IntegriCloud