summaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-08 12:49:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-08 12:49:22 +0000
commit1385899416a4396385ad421ae1f532be7103738a (patch)
treefc4d14a910593d1235318bb36abe5e9f72d2039e /coreutils/du.c
parent5625415085e68ac5e150f54e685417c866620d76 (diff)
downloadbusybox-w32-1385899416a4396385ad421ae1f532be7103738a.tar.gz
busybox-w32-1385899416a4396385ad421ae1f532be7103738a.tar.bz2
busybox-w32-1385899416a4396385ad421ae1f532be7103738a.zip
attempt to regularize atoi mess.
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 */