Tune output to remove trailing space.

Submitted by:	Christoph Mallon
This commit is contained in:
Alexander Motin 2009-02-15 10:41:42 +00:00
parent 8e6f99f648
commit f8dacb0467

View File

@ -427,9 +427,9 @@ cap_pciaf(int fd, struct pci_conf *p, uint8_t ptr)
uint8_t cap; uint8_t cap;
cap = read_config(fd, &p->pc_sel, ptr + PCIR_PCIAF_CAP, 1); cap = read_config(fd, &p->pc_sel, ptr + PCIR_PCIAF_CAP, 1);
printf("PCI Advanced Features: %s%s", printf("PCI Advanced Features:%s%s",
(cap & PCIM_PCIAFCAP_FLR)?"FLR ":"", cap & PCIM_PCIAFCAP_FLR ? " FLR" : "",
(cap & PCIM_PCIAFCAP_TP)?"TP ":""); cap & PCIM_PCIAFCAP_TP ? " TP" : "");
} }
void void