Tune output to remove trailing space.
Submitted by: Christoph Mallon
This commit is contained in:
parent
8e6f99f648
commit
f8dacb0467
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user