From 67839729003ff70ccb650102e52868dde874221b Mon Sep 17 00:00:00 2001 From: mav Date: Sun, 15 Feb 2009 10:41:42 +0000 Subject: Tune output to remove trailing space. Submitted by: Christoph Mallon --- usr.sbin/pciconf/cap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/pciconf/cap.c') 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 -- cgit v1.1