aboutsummaryrefslogtreecommitdiff
path: root/src/ss/os.c
diff options
context:
space:
mode:
authorOndrej Čerman2020-01-23 22:47:52 +0100
committerOndrej Čerman2020-01-23 22:47:52 +0100
commita82a28c135afb11470a383ba55278dc48e37ed4e (patch)
tree9ec241fe144b3060d897d8db0933d32a5cc0d823 /src/ss/os.c
parentf04d8e4dc6404151882c57ad4721dad9db2768cb (diff)
Core index is now displayed by default, added command line argument "--core_id" to display core_id insteadv1.3
Fixed dates in LICENSE file Version 1.3
Diffstat (limited to 'src/ss/os.c')
-rw-r--r--src/ss/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ss/os.c b/src/ss/os.c
index 637c4ec..a491c02 100644
--- a/src/ss/os.c
+++ b/src/ss/os.c
@@ -80,7 +80,7 @@ GSList* os_get_sensors(void) {
for (i = 0; i < cores; i++) {
data = sensor_init_new();
- data->label = g_strdup_printf("Core %d Frequency", cpu_dev_ids[i].coreid);
+ data->label = g_strdup_printf("Core %d Frequency", display_coreid ? cpu_dev_ids[i].coreid: i);
data->value = &(core_freq[i]);
data->min = &(core_freq_min[i]);
data->max = &(core_freq_max[i]);