aboutsummaryrefslogtreecommitdiff
path: root/nptl/perf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-21 19:33:56 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-21 19:33:56 +0000
commitefe0cd0fdc92442cd70a529e6b23de7ee9442bb0 (patch)
tree8f2fc9b74074a5a79eea1184a45a314371c0cdbe /nptl/perf.c
parente361ccd9992504d1b1b1f496f182dbfa0fdca643 (diff)
downloadglibc-efe0cd0fdc92442cd70a529e6b23de7ee9442bb0.zip
glibc-efe0cd0fdc92442cd70a529e6b23de7ee9442bb0.tar.gz
glibc-efe0cd0fdc92442cd70a529e6b23de7ee9442bb0.tar.bz2
(parse_opt): Avoid warning in case -t is used with maximum allowed number.
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 3e92920..515f493 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 ("\