diff options
Diffstat (limited to 'findutils/find.c')
-rw-r--r-- | findutils/find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c index 2970814..d4bcd65 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -1210,7 +1210,7 @@ IF_FEATURE_FIND_MAXDEPTH(OPT_MINDEPTH,) if (opt == OPT_MINDEPTH || opt == OPT_MINDEPTH + 1) { if (!argp[1]) bb_show_usage(); - minmaxdepth[opt - OPT_MINDEPTH] = xatoi_u(argp[1]); + minmaxdepth[opt - OPT_MINDEPTH] = xatoi_positive(argp[1]); argp[0] = (char*)"-a"; argp[1] = (char*)"-a"; argp++; |