diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-06 12:47:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-06 12:47:55 +0200 |
commit | 043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 (patch) | |
tree | bab07bc427f178857896a8bf252c61ea1a5c67a2 /runit | |
parent | 5370bfb123266ab5716f321e43d3f8f6da7d7143 (diff) | |
download | busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.gz busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.bz2 busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.zip |
more C standard compat fixes from Dan Fandrich
function old new delta
docolon 207 204 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit')
-rw-r--r-- | runit/svlogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index 66a13fbd0..34ceadf72 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -682,7 +682,7 @@ static unsigned logdir_open(struct logdir *ld, const char *fn) | |||
682 | static const struct suffix_mult km_suffixes[] = { | 682 | static const struct suffix_mult km_suffixes[] = { |
683 | { "k", 1024 }, | 683 | { "k", 1024 }, |
684 | { "m", 1024*1024 }, | 684 | { "m", 1024*1024 }, |
685 | { } | 685 | { "", 0 } |
686 | }; | 686 | }; |
687 | ld->sizemax = xatou_sfx(&s[1], km_suffixes); | 687 | ld->sizemax = xatou_sfx(&s[1], km_suffixes); |
688 | break; | 688 | break; |
@@ -698,7 +698,7 @@ static unsigned logdir_open(struct logdir *ld, const char *fn) | |||
698 | { "m", 60 }, | 698 | { "m", 60 }, |
699 | { "h", 60*60 }, | 699 | { "h", 60*60 }, |
700 | /*{ "d", 24*60*60 },*/ | 700 | /*{ "d", 24*60*60 },*/ |
701 | { } | 701 | { "", 0 } |
702 | }; | 702 | }; |
703 | ld->rotate_period = xatou_sfx(&s[1], mh_suffixes); | 703 | ld->rotate_period = xatou_sfx(&s[1], mh_suffixes); |
704 | if (ld->rotate_period) { | 704 | if (ld->rotate_period) { |