summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-getloadavg.c b/tests/test-getloadavg.c
index daf443b61a..b8782c2c3d 100644
--- a/tests/test-getloadavg.c
+++ b/tests/test-getloadavg.c
@@ -70,7 +70,7 @@ main (int argc, char **argv)
if (loads > 1)
check_avg (5, avg[1], argc > 1);
if (loads > 2)
- check_avg (15, avg[1], argc > 1);
+ check_avg (15, avg[2], argc > 1);
if (loads > 0 && argc > 1)
putchar ('\n');