projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpufreq plugin: fix minor style issue
[collectd.git]
/
src
/
cpufreq.c
diff --git
a/src/cpufreq.c
b/src/cpufreq.c
index
a81cf46
..
21b6429
100644
(file)
--- a/
src/cpufreq.c
+++ b/
src/cpufreq.c
@@
-37,7
+37,7
@@
struct cpu_data_t {
static bool report_p_stats = false;
static void cpufreq_stats_init(void) {
- cpu_data = calloc(num_cpu, sizeof(
struct cpu_data_t
));
+ cpu_data = calloc(num_cpu, sizeof(
*cpu_data
));
if (cpu_data == NULL)
return;