Permalink
Browse files

devices/sensors: hwmon - removed unwanted whitespace from sensor labels

  • Loading branch information...
ocerman authored and lpereira committed Dec 9, 2018
1 parent c069689 commit 340d04ee59683ecadfe4b6d19f65d1f497e17e11
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/devices/sensors.c
@@ -71,7 +71,7 @@ static void read_sensor_labels(gchar *driver) {
}

remove_quotes(value);
g_hash_table_insert(sensor_labels, key, value);
g_hash_table_insert(sensor_labels, key, g_strstrip(value));

g_strfreev(names);
} else if (lock && strstr(line, "ignore")) { /* ignore lines */

0 comments on commit 340d04e

Please sign in to comment.