aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/zenmonitor.c2
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[] = {