X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fthermal.c;fp=src%2Fthermal.c;h=cbd168b41bad622c09e86dd803eb8f52d17a1ca5;hb=f25d207699e013bb47c0083fe56b8358a98f6f4d;hp=0f7f79f8123b28f9c37badd6e48c65d6e3aefc98;hpb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;p=collectd.git diff --git a/src/thermal.c b/src/thermal.c index 0f7f79f8..cbd168b4 100644 --- a/src/thermal.c +++ b/src/thermal.c @@ -35,7 +35,7 @@ static const char *config_keys[] = {"Device", "IgnoreSelected", static const char *const dirname_sysfs = "/sys/class/thermal"; static const char *const dirname_procfs = "/proc/acpi/thermal_zone"; -static bool force_procfs = 0; +static bool force_procfs; static ignorelist_t *device_list; enum dev_type { TEMP = 0, COOLING_DEV };