diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-21 19:33:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-21 19:33:56 +0000 |
commit | efe0cd0fdc92442cd70a529e6b23de7ee9442bb0 (patch) | |
tree | 8f2fc9b74074a5a79eea1184a45a314371c0cdbe /nptl | |
parent | e361ccd9992504d1b1b1f496f182dbfa0fdca643 (diff) | |
download | glibc-efe0cd0fdc92442cd70a529e6b23de7ee9442bb0.tar.gz glibc-efe0cd0fdc92442cd70a529e6b23de7ee9442bb0.tar.xz glibc-efe0cd0fdc92442cd70a529e6b23de7ee9442bb0.zip |
(parse_opt): Avoid warning in case -t is used with maximum allowed number.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/perf.c | 2 |
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 ("\ |