aboutsummaryrefslogtreecommitdiff
path: root/coreutils/fold.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/fold.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/fold.c')
-rw-r--r--coreutils/fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/fold.c b/coreutils/fold.c
index 3b5be64fe..45f4472e4 100644
--- a/coreutils/fold.c
+++ b/coreutils/fold.c
@@ -62,7 +62,7 @@ int fold_main(int argc, char **argv)
62 62
63 flags = getopt32(argc, argv, "bsw:", &w_opt); 63 flags = getopt32(argc, argv, "bsw:", &w_opt);
64 if (flags & FLAG_WIDTH) 64 if (flags & FLAG_WIDTH)
65 width = bb_xgetlarg(w_opt, 10, 1, 10000); 65 width = xatoul_range(w_opt, 1, 10000);
66 66
67 argv += optind; 67 argv += optind;
68 if (!*argv) { 68 if (!*argv) {