From 043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 6 Sep 2009 12:47:55 +0200 Subject: more C standard compat fixes from Dan Fandrich function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko --- runit/svlogd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runit') 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) static const struct suffix_mult km_suffixes[] = { { "k", 1024 }, { "m", 1024*1024 }, - { } + { "", 0 } }; ld->sizemax = xatou_sfx(&s[1], km_suffixes); break; @@ -698,7 +698,7 @@ static unsigned logdir_open(struct logdir *ld, const char *fn) { "m", 60 }, { "h", 60*60 }, /*{ "d", 24*60*60 },*/ - { } + { "", 0 } }; ld->rotate_period = xatou_sfx(&s[1], mh_suffixes); if (ld->rotate_period) { -- cgit v1.2.3