aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-08 12:49:22 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-08 12:49:22 +0000
commit87d25a2b8535dc627a02eb539fa3946be2a24647 (patch)
treefc4d14a910593d1235318bb36abe5e9f72d2039e /coreutils/tail.c
parent81177b14907e73f11560f69e0b4ec34371f1a7d5 (diff)
downloadbusybox-w32-87d25a2b8535dc627a02eb539fa3946be2a24647.tar.gz
busybox-w32-87d25a2b8535dc627a02eb539fa3946be2a24647.tar.bz2
busybox-w32-87d25a2b8535dc627a02eb539fa3946be2a24647.zip
attempt to regularize atoi mess.
git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 49f1bcd6a..82c0d99bc 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -132,7 +132,7 @@ int tail_main(int argc, char **argv)
132#if !ENABLE_DEBUG_YANK_SUSv2 || ENABLE_FEATURE_FANCY_TAIL 132#if !ENABLE_DEBUG_YANK_SUSv2 || ENABLE_FEATURE_FANCY_TAIL
133 GET_COUNT: 133 GET_COUNT:
134#endif 134#endif
135 count = bb_xgetlarg10_sfx(optarg, tail_suffixes); 135 count = xatol_sfx(optarg, tail_suffixes);
136 /* Note: Leading whitespace is an error trapped above. */ 136 /* Note: Leading whitespace is an error trapped above. */
137 if (*optarg == '+') { 137 if (*optarg == '+') {
138 from_top = 1; 138 from_top = 1;
@@ -148,7 +148,7 @@ int tail_main(int argc, char **argv)
148 header_threshhold = INT_MAX; 148 header_threshhold = INT_MAX;
149 break; 149 break;
150 case 's': 150 case 's':
151 sleep_period =bb_xgetularg10_bnd(optarg, 0, UINT_MAX); 151 sleep_period = xatou(optarg);
152 break; 152 break;
153 case 'v': 153 case 'v':
154 header_threshhold = 0; 154 header_threshhold = 0;