(parse_opt): Avoid warning in case -t is used with maximum allowed number.
authorUlrich Drepper <drepper@redhat.com>
Sat, 21 Dec 2002 19:33:56 +0000 (19:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 21 Dec 2002 19:33:56 +0000 (19:33 +0000)
nptl/perf.c

index 3e92920..515f493 100644 (file)
@@ -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 ("\