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 f3cb6e6..ee2be39 100644
--- a/src/zenmonitor.c
+++ b/src/zenmonitor.c
@@ -60,7 +60,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[] = {