]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: add info that caches sizes are sum
authorKarel Zak <kzak@redhat.com>
Mon, 8 Mar 2021 10:25:15 +0000 (11:25 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Mar 2021 10:25:15 +0000 (11:25 +0100)
Addresses: https://github.com/karelzak/util-linux/issues/1258
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu.c

index 729e3e1dc38ed1562314e459257d41993f86e028..b1d162c92b2a06fd050e3adb66c9ad73b0dff11e 100644 (file)
@@ -1040,7 +1040,7 @@ static void print_summary(struct lscpu_cxt *cxt)
                /* The caches are sorted by name, cxt->caches[] may contains
                 * multiple instances for the same name.
                 */
-               sec = add_summary_e(tb, NULL, _("Caches:"));
+               sec = add_summary_e(tb, NULL, _("Caches (sum of all):"));
 
                for (i = 0; i < cxt->ncaches; i++) {
                        const char *name = cxt->caches[i].name;