about summary refs log tree commit diff
path: root/stdlib/tst-qsort2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-qsort2.c')
-rw-r--r--stdlib/tst-qsort2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-qsort2.c b/stdlib/tst-qsort2.c
index 75d4a1732d..10d16852b0 100644
--- a/stdlib/tst-qsort2.c
+++ b/stdlib/tst-qsort2.c
@@ -70,7 +70,7 @@ int
 main (int argc, char **argv)
 {
   int ret = 0;
-  if (argc >= 2)
+  if (argc >= 3)
     ret |= test (atoi (argv[1]), atoi (argv[2]));
   else
     {