(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

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