diff options
author | laforge <laforge> | 2005-02-14 16:12:49 +0000 |
---|---|---|
committer | laforge <laforge> | 2005-02-14 16:12:49 +0000 |
commit | d66a1983b792780b68c2c3b44ac8cd7de06ce66d (patch) | |
tree | f15eae3086f91f432c2c0976541c50213270749c /ulogd/extensions | |
parent | d996ae0a8d728dde29b044dd03d3ed622739f2a2 (diff) |
apply C99 initializers fix (Roberto Nibali)
Diffstat (limited to 'ulogd/extensions')
-rw-r--r-- | ulogd/extensions/ulogd_LOGEMU.c | 4 | ||||
-rw-r--r-- | ulogd/extensions/ulogd_OPRINT.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ulogd/extensions/ulogd_LOGEMU.c b/ulogd/extensions/ulogd_LOGEMU.c index 383f5a6..4b654c7 100644 --- a/ulogd/extensions/ulogd_LOGEMU.c +++ b/ulogd/extensions/ulogd_LOGEMU.c @@ -50,7 +50,7 @@ static config_entry_t syslogf_ce = { .key = "file", .type = CONFIG_TYPE_STRING, .options = CONFIG_OPT_NONE, - .u.string = ULOGD_LOGEMU_DEFAULT + .u = { .string = ULOGD_LOGEMU_DEFAULT } }; static config_entry_t syslsync_ce = { @@ -58,7 +58,7 @@ static config_entry_t syslsync_ce = { .key = "sync", .type = CONFIG_TYPE_INT, .options = CONFIG_OPT_NONE, - .u.value = ULOGD_LOGEMU_SYNC_DEFAULT, + .u = { .value = ULOGD_LOGEMU_SYNC_DEFAULT } }; static FILE *of = NULL; diff --git a/ulogd/extensions/ulogd_OPRINT.c b/ulogd/extensions/ulogd_OPRINT.c index bbef651..701b645 100644 --- a/ulogd/extensions/ulogd_OPRINT.c +++ b/ulogd/extensions/ulogd_OPRINT.c @@ -83,7 +83,7 @@ static config_entry_t outf_ce = { .key = "file", .type = CONFIG_TYPE_STRING, .options = CONFIG_OPT_NONE, - .u.string = ULOGD_OPRINT_DEFAULT, + .u = { .string = ULOGD_OPRINT_DEFAULT } }; static void sighup_handler_print(int signal) |