diff options
author | Ondrej Čerman | 2019-08-17 21:34:19 +0200 |
---|---|---|
committer | Ondrej Čerman | 2019-08-17 21:34:19 +0200 |
commit | ec849b74627cd6ad890714a0c3215fcf3c9c0dad (patch) | |
tree | 6af76cd3764263002438c705c6c1cbf0c425d4de | |
parent | 79dc7129d873ad56a57849c49b6e7535812bc35a (diff) |
Strchomp for model name
-rw-r--r-- | src/zenmonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenmonitor.c b/src/zenmonitor.c index 4d96cb9..4ce4bb9 100644 --- a/src/zenmonitor.c +++ b/src/zenmonitor.c @@ -59,7 +59,7 @@ gchar *cpu_model() { memcpy(model+44, &edx, 4); model[48] = 0; - return g_strdup(model); + return g_strdup(g_strchomp(model)); } static SensorSource sensor_sources[] = { |