diff options
author | Ondrej Čerman | 2019-06-16 23:53:04 +0200 |
---|---|---|
committer | Ondrej Čerman | 2019-06-16 23:53:04 +0200 |
commit | 91a250850649cce70f901f7d847a82ec3cf4fd75 (patch) | |
tree | 383d5bf31d15c4e6a49448f27c732a5fcefb71f8 /src/ss | |
parent | 37fc68ca76571bbb1ccf8c21ea159e5273bcde4a (diff) |
Fix: Check zenpower hwmon
Diffstat (limited to 'src/ss')
-rw-r--r-- | src/ss/zenpower.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ss/zenpower.c b/src/ss/zenpower.c index e67211e..7d24bba 100644 --- a/src/ss/zenpower.c +++ b/src/ss/zenpower.c @@ -47,7 +47,7 @@ gboolean zenpower_init() { while ((entry = g_dir_read_name(hwmon))) { read_raw_hwmon_value(entry, "name", &name); - if (strcmp(name, "zenpower")) { + if (strcmp(g_strchomp(name), "zenpower") == 0) { zenpowerDir = g_strdup(entry); break; } |