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 297081489..d4bcd6545 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -1210,7 +1210,7 @@ IF_FEATURE_FIND_MAXDEPTH(OPT_MINDEPTH,) | |||
1210 | if (opt == OPT_MINDEPTH || opt == OPT_MINDEPTH + 1) { | 1210 | if (opt == OPT_MINDEPTH || opt == OPT_MINDEPTH + 1) { |
1211 | if (!argp[1]) | 1211 | if (!argp[1]) |
1212 | bb_show_usage(); | 1212 | bb_show_usage(); |
1213 | minmaxdepth[opt - OPT_MINDEPTH] = xatoi_u(argp[1]); | 1213 | minmaxdepth[opt - OPT_MINDEPTH] = xatoi_positive(argp[1]); |
1214 | argp[0] = (char*)"-a"; | 1214 | argp[0] = (char*)"-a"; |
1215 | argp[1] = (char*)"-a"; | 1215 | argp[1] = (char*)"-a"; |
1216 | argp++; | 1216 | argp++; |