diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-12 14:14:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-12 14:14:45 +0200 |
commit | 7783248eaac715b813f0635b06cc140ea99bb4d9 (patch) | |
tree | b7c3acbdf7e45afdb31a721a693f0a8a65f80730 /runit/svlogd.c | |
parent | 7bfbbd434a6f435b0287cd25406927c630b03f68 (diff) | |
download | busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.gz busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.bz2 busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.zip |
*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/svlogd.c')
-rw-r--r-- | runit/svlogd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index 9fe81b900..1f0a77cc2 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -688,10 +688,10 @@ static NOINLINE unsigned logdir_open(struct logdir *ld, const char *fn) | |||
688 | break; | 688 | break; |
689 | } | 689 | } |
690 | case 'n': | 690 | case 'n': |
691 | ld->nmax = xatoi_u(&s[1]); | 691 | ld->nmax = xatoi_positive(&s[1]); |
692 | break; | 692 | break; |
693 | case 'N': | 693 | case 'N': |
694 | ld->nmin = xatoi_u(&s[1]); | 694 | ld->nmin = xatoi_positive(&s[1]); |
695 | break; | 695 | break; |
696 | case 't': { | 696 | case 't': { |
697 | static const struct suffix_mult mh_suffixes[] = { | 697 | static const struct suffix_mult mh_suffixes[] = { |
@@ -981,7 +981,7 @@ int svlogd_main(int argc, char **argv) | |||
981 | linemax = 256; | 981 | linemax = 256; |
982 | } | 982 | } |
983 | ////if (opt & 8) { // -b | 983 | ////if (opt & 8) { // -b |
984 | //// buflen = xatoi_u(b); | 984 | //// buflen = xatoi_positive(b); |
985 | //// if (buflen == 0) buflen = 1024; | 985 | //// if (buflen == 0) buflen = 1024; |
986 | ////} | 986 | ////} |
987 | //if (opt & 0x10) timestamp++; // -t | 987 | //if (opt & 0x10) timestamp++; // -t |