]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
lspci: Remove spurious colon (':') from PCIe PTM decoding
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Oct 2023 16:08:35 +0000 (11:08 -0500)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Oct 2023 18:57:05 +0000 (20:57 +0200)
Remove spurious colon from PTM decoding to match other enabled/disabled
decoding.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
ls-ecaps.c

index 5bc7a690734989bfd35e7d3565bff41779aa85ab..a22da6173e676ddd2aee50ed6bbbe67661bb35fa 100644 (file)
@@ -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));