From d0432527fb995301f1a19b1b912f5c4e8da1a686 Mon Sep 17 00:00:00 2001 From: Marco van Tol Date: Tue, 23 Apr 2019 23:27:57 +0200 Subject: [PATCH] Changes after applying contrib/format.sh --- src/cpufreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpufreq.c b/src/cpufreq.c index ee5492c5..f95b2828 100644 --- a/src/cpufreq.c +++ b/src/cpufreq.c @@ -26,8 +26,8 @@ #include "utils/common/common.h" #if KERNEL_FREEBSD -#include #include +#include #endif #if KERNEL_LINUX @@ -109,7 +109,7 @@ static int cpufreq_init(void) { int cpufreq; size_t cf_len = sizeof(cpufreq); - if(sysctlbyname(mib, &cpufreq, &cf_len, NULL, 0) != 0) { + if (sysctlbyname(mib, &cpufreq, &cf_len, NULL, 0) != 0) { WARNING("cpufreq plugin: sysctl \"%s\" failed.", mib); plugin_unregister_read("cpufreq"); } @@ -233,7 +233,7 @@ static int cpufreq_read(void) { int cpufreq; size_t cf_len = sizeof(cpufreq); - if(sysctlbyname(mib, &cpufreq, &cf_len, NULL, 0) != 0) { + if (sysctlbyname(mib, &cpufreq, &cf_len, NULL, 0) != 0) { WARNING("cpufreq plugin: sysctl \"%s\" failed.", mib); return 0; } -- 2.11.0