Package: e17 Version: 0.16.999.70492-2 Severity: normal Tags: patch Dear Maintainer,
Configuring the e17 desktop environment, the temperature gadget don't get correctly the temperature value, and returns "N/A". Reviewing the source code for tempget module (tempget.c), i could observed at the line number 345-346, for the sensor type "SENSOR_TYPE_LINUX_SYS", that the string "path" seems incorrect in the call function snprintf, for the sensor that detected. Proposed code for correcting the error: --- tempget.c 2012-03-25 01:37:32.000000000 -0430 +++ tempget2.c 2012-11-03 23:04:36.881754305 -0430 @@ -343,7 +343,7 @@ break; case SENSOR_TYPE_LINUX_SYS: snprintf(path, sizeof(path), - "/sys/class/thermal/thermal/%s/temp", sensor_name); + "/sys/class/thermal/%s/temp", sensor_name); sensor_path = strdup(path); break; default: Thanks a lot. Regards, German Cardozo Chirinos -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages e17 depends on: ii dbus-x11 1.6.8-1 ii e17-data 0.16.999.70492-2 ii libasound2 1.0.25-4 ii libc6 2.13-35 ii libdbus-1-3 1.6.8-1 ii libecore-con1 1.2.0-2 ii libecore-evas1 1.2.0-2 ii libecore-file1 1.2.0-2 ii libecore-imf1 1.2.0-2 ii libecore-input1 1.2.0-2 ii libecore-ipc1 1.2.0-2 ii libecore-x1 1.2.0-2 ii libecore1 1.2.0-2 ii libedbus1 1.2.0-1 ii libedje-bin 1.2.0-1 ii libedje1 1.2.0-1 ii libeet1 1.6.0-1 ii libefreet1 1.2.0-1 ii libeina1 1.2.0-2 ii libevas1 1.2.0-2 ii libevas1-engines-x [libevas1-engine-software-x11] 1.2.0-2 ii libpam0g 1.1.3-7.1 ii libxcb-shape0 1.8.1-2 ii libxcb1 1.8.1-2 e17 recommends no packages. e17 suggests no packages. -- no debconf information
--- tempget.c 2012-03-25 01:37:32.000000000 -0430 +++ tempget2.c 2012-11-03 23:04:36.881754305 -0430 @@ -343,7 +343,7 @@ break; case SENSOR_TYPE_LINUX_SYS: snprintf(path, sizeof(path), - "/sys/class/thermal/thermal/%s/temp", sensor_name); + "/sys/class/thermal/%s/temp", sensor_name); sensor_path = strdup(path); break; default: