svn commit: r188641 - head/usr.sbin/pciconf
Alexander Motin
mav at FreeBSD.org
Sun Feb 15 02:41:43 PST 2009
Author: mav
Date: Sun Feb 15 10:41:42 2009
New Revision: 188641
URL: http://svn.freebsd.org/changeset/base/188641
Log:
Tune output to remove trailing space.
Submitted by: Christoph Mallon
Modified:
head/usr.sbin/pciconf/cap.c
Modified: head/usr.sbin/pciconf/cap.c
==============================================================================
--- head/usr.sbin/pciconf/cap.c Sun Feb 15 09:56:47 2009 (r188640)
+++ head/usr.sbin/pciconf/cap.c Sun Feb 15 10:41:42 2009 (r188641)
@@ -427,9 +427,9 @@ cap_pciaf(int fd, struct pci_conf *p, ui
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
More information about the svn-src-all
mailing list