display ACPI as chip name when appropriate.
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 2 Sep 2014 08:50:55 +0000 (10:50 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 2 Sep 2014 08:50:55 +0000 (10:50 +0200)
src/lib/lmsensor.c

index 21ae702..accd3a2 100644 (file)
@@ -154,6 +154,8 @@ lmsensor_psensor_create(const sensors_chip_name *chip,
                cname = strdup(_("NVIDIA GPU"));
        else if (!strcmp(chip->prefix, "via-cputemp"))
                cname = strdup(_("VIA CPU"));
+       else if (!strcmp(chip->prefix, "acpitz"))
+               cname = strdup(_("ACPI"));
        else
                cname = strdup(chip->prefix);