Strchomp for model name

This commit is contained in:
Ondrej Čerman 2019-08-17 21:34:19 +02:00
parent 79dc7129d8
commit ec849b7462

View file

@ -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[] = {