1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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