diff options
Diffstat (limited to 'src/ss/msr.c')
-rw-r--r-- | src/ss/msr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ss/msr.c b/src/ss/msr.c index 17c9530..f64c534 100644 --- a/src/ss/msr.c +++ b/src/ss/msr.c @@ -166,7 +166,7 @@ GSList* msr_get_sensors() { for (i = 0; i < cores; i++) { data = sensor_init_new(); - data->label = g_strdup_printf("Core %d Power", cpu_dev_ids[i].coreid); + data->label = g_strdup_printf("Core %d Power", display_coreid ? cpu_dev_ids[i].coreid: i); data->value = &(core_power[i]); data->min = &(core_power_min[i]); data->max = &(core_power_max[i]); |