aboutsummaryrefslogtreecommitdiff
path: root/src/ss/os.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ss/os.c')
-rw-r--r--src/ss/os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ss/os.c b/src/ss/os.c
index a3ee7a6..8543c5f 100644
--- a/src/ss/os.c
+++ b/src/ss/os.c
@@ -15,11 +15,11 @@ gfloat *core_freq;
gfloat *core_freq_min;
gfloat *core_freq_max;
-static gdouble get_frequency(guint coreid) {
+static gdouble get_frequency(guint corei) {
gchar *data;
gdouble freq;
- if (!g_file_get_contents(frq_files[coreid], &data, NULL, NULL))
+ if (!g_file_get_contents(frq_files[corei], &data, NULL, NULL))
return 0.0;
freq = atoi(data) / 1000000.0;