X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=45c8bd704537206ae78058186b589dba09e3d0ea;hb=b2543fd12ea900377dc0939c5221f76b893e7f55;hp=62bd92b13bda49efbdc83b702866fc0b164a6385;hpb=004074af297a219208fa9e903db8c5dcdd7e1950;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);