]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
bug corrected
authorThibault Godouet <yo8192@users.noreply.github.com>
Sat, 30 Sep 2000 11:55:41 +0000 (11:55 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Sat, 30 Sep 2000 11:55:41 +0000 (11:55 +0000)
getloadavg.c

index a6264f58dcdb579949df8b11d3c01f657d15cdc1..a2d7e8459b5b214d15ab713a5cadac181c98106d 100644 (file)
@@ -54,5 +54,5 @@ getloadavg(double *result, int n)
     }
   end:
     fclose(fp);
-    return (i<0) ? i : i+1;
+    return (i<0) ? i : i;
 }