about summary refs log tree commit diff
path: root/nptl/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/perf.c')
-rw-r--r--nptl/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/perf.c b/nptl/perf.c
index 3e92920bb2..515f493069 100644
--- a/nptl/perf.c
+++ b/nptl/perf.c
@@ -530,7 +530,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
     {
     case 't':
       num = strtoul (arg, NULL, 0);
-      if (num < MAX_THREADS)
+      if (num <= MAX_THREADS)
 	threads = num;
       else
 	printf ("\