aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/common/sensors.h
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:44 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:44 -0500
commitee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 (patch)
treef7dc3f671114fd867204dca23871eaf2fa4ccc4a /arch/linux/common/sensors.h
parent7aeb5ac87c6105bd8fcc9b1fd12e37ba1550f587 (diff)
Import Upstream version 0.4.2.3
Diffstat (limited to 'arch/linux/common/sensors.h')
-rw-r--r--arch/linux/common/sensors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/linux/common/sensors.h b/arch/linux/common/sensors.h
index bc84014b..1c4fd69f 100644
--- a/arch/linux/common/sensors.h
+++ b/arch/linux/common/sensors.h
@@ -254,7 +254,7 @@ static void read_sensors_acpi(void)
if ((tz = g_dir_open(path_tz, 0, NULL))) {
const gchar *entry;
- gchar *temp = "";
+ gchar *temp = g_strdup("");
while ((entry = g_dir_read_name(tz))) {