]> mj.ucw.cz Git - pciutils.git/commit
lspci: Avoid "%1$c" style format strings in HT capability
authorMartin Mares <mj@ucw.cz>
Sat, 24 Mar 2018 15:34:35 +0000 (16:34 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 24 Mar 2018 15:34:35 +0000 (16:34 +0100)
commit0089d489b469e19e615f33cc8485c48e7f7cfebb
tree6a010b01cf84abaa330fffb21a0ca7c28df8d588
parent5f22f791384651789963ae20ef0b4332f5acc7fc
lspci: Avoid "%1$c" style format strings in HT capability

This kind of format strings is not available on some compilers.

Also added a test case for the HT capability.
ls-caps.c
tests/cap-ht [new file with mode: 0644]