From b28126f76ab0f3a522d2356c11b0909b1d4d48c5 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 31 Jul 2008 10:47:55 +0200 Subject: cleanup: fix inappropriate initializations in ulogd.c This patch fixes some improper initialization in ulogd.c. Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- src/ulogd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/ulogd.c b/src/ulogd.c index 429f472..e69079d 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -97,7 +97,6 @@ static struct config_keyset ulogd_kset = { .key = "logfile", .type = CONFIG_TYPE_CALLBACK, .options = CONFIG_OPT_NONE, - .u.string = ULOGD_LOGFILE_DEFAULT, .u.parser = &logfile_open, }, { @@ -1022,7 +1021,7 @@ static struct option opts[] = { { "configfile", 1, NULL, 'c'}, { "uid", 1, NULL, 'u' }, { "info", 1, NULL, 'i' }, - { 0 } + {NULL, 0, NULL, 0} }; int main(int argc, char* argv[]) -- cgit v1.2.3