Remove artificial limit for -i.
Obtained from: CheriBSD MFC after: 2 weeks Sponsored by: DARPA, AFRL
This commit is contained in:
parent
a396801790
commit
8ec59b6c55
@ -808,7 +808,7 @@ main(int argc, char *argv[])
|
|||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'i':
|
case 'i':
|
||||||
ll = strtol(optarg, &endp, 10);
|
ll = strtol(optarg, &endp, 10);
|
||||||
if (*endp != 0 || ll < 1 || ll > 100000)
|
if (*endp != 0 || ll < 1)
|
||||||
usage();
|
usage();
|
||||||
iterations = ll;
|
iterations = ll;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user