projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to regularize atoi mess.
[oweals/busybox.git]
/
coreutils
/
du.c
diff --git
a/coreutils/du.c
b/coreutils/du.c
index 1452e58832b0301175bdfd74bddac15f810047ed..f61d978b779fab9ed1600aa3c444341d58f8064a 100644
(file)
--- a/
coreutils/du.c
+++ b/
coreutils/du.c
@@
-215,7
+215,7
@@
int du_main(int argc, char **argv)
one_file_system = opt & (1 << 5); /* -x opt */
if((opt & (1 << 6))) {
/* -d opt */
- max_print_depth =
bb_xgetularg10_bnd(smax_print_depth, 0, INT_MAX
);
+ max_print_depth =
xatoi_u(smax_print_depth
);
}
if((opt & (1 << 7))) {
/* -l opt */