aboutsummaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/du.c')
-rw-r--r--coreutils/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 1452e5883..f61d978b7 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -215,7 +215,7 @@ int du_main(int argc, char **argv)
215 one_file_system = opt & (1 << 5); /* -x opt */ 215 one_file_system = opt & (1 << 5); /* -x opt */
216 if((opt & (1 << 6))) { 216 if((opt & (1 << 6))) {
217 /* -d opt */ 217 /* -d opt */
218 max_print_depth = bb_xgetularg10_bnd(smax_print_depth, 0, INT_MAX); 218 max_print_depth = xatoi_u(smax_print_depth);
219 } 219 }
220 if((opt & (1 << 7))) { 220 if((opt & (1 << 7))) {
221 /* -l opt */ 221 /* -l opt */