]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: remove extra space from field key name
authorSami Kerola <kerolasa@iki.fi>
Thu, 16 May 2019 20:51:47 +0000 (21:51 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 16 May 2019 21:04:03 +0000 (22:04 +0100)
commit30d5ceeda8266a9b9d8ab58a2f128352d6aa4fe0
tree8560ee70a0f9212825f1f762674d6e94efe6f659
parent4ac2ab97d18fc53b169d492168cc455d55887038
lscpu: remove extra space from field key name

The extra space was more obvious in json output.  But as the expected test
output displays also the standard output can be effected by this change.

    $ lscpu --json | jq '.lscpu | .[].field' | grep ': '
    "L1d cache: "
    "L1i cache: "
    "L2 cache: "
    "L3 cache: "
    "Vulnerability L1tf: "
    "Vulnerability Mds: "
    "Vulnerability Meltdown: "
    "Vulnerability Spec store bypass: "
    "Vulnerability Spectre v1: "
    "Vulnerability Spectre v2: "

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/lscpu.c
tests/expected/lscpu/lscpu-x86_64-epyc_7451