From: Bjorn Helgaas Date: Wed, 18 Oct 2023 16:08:35 +0000 (-0500) Subject: lspci: Remove spurious colon (':') from PCIe PTM decoding X-Git-Tag: v3.11.0~83 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b2caca015cf993f2562db1883e1054209e566e28;p=pciutils.git 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 --- diff --git a/ls-ecaps.c b/ls-ecaps.c index 5bc7a69..a22da61 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -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));