diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-18 11:08:35 -0500 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2023-10-18 20:57:05 +0200 |
commit | b2caca015cf993f2562db1883e1054209e566e28 (patch) | |
tree | cf9ec0e52f4eab680f3cb8806facb1681b9c986b | |
parent | aeb74fe2d17657152ba7a84b5eb58dafcdea9d53 (diff) | |
download | pciutils-b2caca015cf993f2562db1883e1054209e566e28.tar.gz |
lspci: Remove spurious colon (':') from PCIe PTM decoding
Remove spurious colon from PTM decoding to match other enabled/disabled
decoding.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | ls-ecaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1245,7 +1245,7 @@ cap_ptm(struct device *d, int where) buff = get_conf_long(d, where + 4); printf("\t\tPTMCap: "); - printf("Requester:%c Responder:%c Root:%c\n", + printf("Requester%c Responder%c Root%c\n", FLAG(buff, 0x1), FLAG(buff, 0x2), FLAG(buff, 0x4)); @@ -1266,7 +1266,7 @@ cap_ptm(struct device *d, int where) buff = get_conf_long(d, where + 8); printf("\t\tPTMControl: "); - printf("Enabled:%c RootSelected:%c\n", + printf("Enabled%c RootSelected%c\n", FLAG(buff, 0x1), FLAG(buff, 0x2)); |