(parse_opt): Avoid warning in case -t is used with maximum allowed number.

This commit is contained in:
Ulrich Drepper 2002-12-21 19:33:56 +00:00
parent e361ccd999
commit efe0cd0fdc
1 changed files with 1 additions and 1 deletions

View 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 ("\