From efe0cd0fdc92442cd70a529e6b23de7ee9442bb0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 21 Dec 2002 19:33:56 +0000 Subject: [PATCH] (parse_opt): Avoid warning in case -t is used with maximum allowed number. --- nptl/perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ("\