X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=45c8bd704537206ae78058186b589dba09e3d0ea;hb=267bbc64779f9c7b32e063aac0df22be61bda6ae;hp=62bd92b13bda49efbdc83b702866fc0b164a6385;hpb=14d94fb83e1e9487dc46415b4334e7217b9175e9;p=collectd.git diff --git a/src/turbostat.c b/src/turbostat.c index 62bd92b1..45c8bd70 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1118,7 +1118,7 @@ for_all_proc_cpus(int(func)(unsigned int)) { retval = func(cpu_num); if (retval) { fclose(fp); - return (retval); + return retval; } } fclose(fp);