dont hardcode TZ2

SVN revision: 16726
This commit is contained in:
Carsten Haitzler 2005-09-15 09:48:18 +00:00
parent 1afc17d459
commit f9e265cbae
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ _temperature_cb_check(void *data)
FILE *f;
snprintf(buf, sizeof(buf), "/proc/acpi/thermal_zone/TZ2/temperature", name);
snprintf(buf, sizeof(buf), "/proc/acpi/thermal_zone/%s/temperature", name);
f = fopen(buf, "rb");
if (f)
{