diff --git a/src/strtonum.c b/src/strtonum.c index 8d6faa1..f85f741 100644 --- a/src/strtonum.c +++ b/src/strtonum.c @@ -58,6 +58,7 @@ strtonum(const char *nptr, long long minval, long long maxval, return rv; case ECANCELED: case ENOTSUP: + case EINVAL: goto out; case ERANGE: if (*eptr)