]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lspcu: Print dummy modelname if none present
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 15 Jan 2022 08:54:08 +0000 (09:54 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 15 Jan 2022 08:59:54 +0000 (09:59 +0100)
commitf592b88d0cd965e20ca1f492cadb3b8c8fd48a40
tree213f216807a71b63837e84945b10eeae882d3b4d
parent1e090fdc6e9729cd016867e44cdf8881fc3b7ede
lspcu: Print dummy modelname if none present

The logic in print_summary_cputype() starts a new hierarchy level under
the CPUs "Model name" entry. If the model is unknown the hierarchy level
will be skipped. This is visually confusing in the human-readable
version and changes the schema of the JSON tree.
sys-utils/lscpu.c