]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: improve debug message
authorKarel Zak <kzak@redhat.com>
Mon, 17 Aug 2020 12:57:22 +0000 (14:57 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 08:19:02 +0000 (09:19 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu-cputype.c

index d7f4c6744dd6a963d5f6665a0d11130f7de9a44a..a5abef37c3ab4497713ff0e531de9aa7b9d6eafe 100644 (file)
@@ -95,10 +95,10 @@ void lscpu_unref_cputype(struct lscpu_cputype *ct)
        if (!ct)
                return;
 
-       DBG(TYPE, ul_debugobj(ct, ">>> unref %d", ct->refcount - 1));
+       /*DBG(TYPE, ul_debugobj(ct, ">>> unref %d", ct->refcount - 1));*/
 
        if (--ct->refcount <= 0) {
-               DBG(TYPE, ul_debugobj(ct, "  freeing"));
+               DBG(TYPE, ul_debugobj(ct, "  freeing %s/%s", ct->vendor, ct->model));
                lscpu_cputype_free_topology(ct);
                free(ct->vendor);
                free(ct->machinetype);  /* s390 */