mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
(parse_opt): Avoid warning in case -t is used with maximum allowed number.
This commit is contained in:
parent
e361ccd999
commit
efe0cd0fdc
@ -530,7 +530,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
|
|||||||
{
|
{
|
||||||
case 't':
|
case 't':
|
||||||
num = strtoul (arg, NULL, 0);
|
num = strtoul (arg, NULL, 0);
|
||||||
if (num < MAX_THREADS)
|
if (num <= MAX_THREADS)
|
||||||
threads = num;
|
threads = num;
|
||||||
else
|
else
|
||||||
printf ("\
|
printf ("\
|
||||||
|
Loading…
Reference in New Issue
Block a user