From ec849b74627cd6ad890714a0c3215fcf3c9c0dad Mon Sep 17 00:00:00 2001 From: Ondrej Čerman Date: Sat, 17 Aug 2019 21:34:19 +0200 Subject: Strchomp for model name --- src/zenmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = { -- cgit v1.2.3-70-g09d2