diff options
author | laforge <laforge> | 2005-02-12 21:22:56 +0000 |
---|---|---|
committer | laforge <laforge> | 2005-02-12 21:22:56 +0000 |
commit | 94f901cdaabb5289c5892413aa55241dab58d44c (patch) | |
tree | 13880d45852b5e5f80888dd687f8cc4cdb959106 /ulogd/extensions/ulogd_OPRINT.c | |
parent | d055a18ee1d2298b72b4e4273401426b2226fd39 (diff) |
use c99 initializers
Diffstat (limited to 'ulogd/extensions/ulogd_OPRINT.c')
-rw-r--r-- | ulogd/extensions/ulogd_OPRINT.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ulogd/extensions/ulogd_OPRINT.c b/ulogd/extensions/ulogd_OPRINT.c index 186e3c9..bbef651 100644 --- a/ulogd/extensions/ulogd_OPRINT.c +++ b/ulogd/extensions/ulogd_OPRINT.c @@ -1,4 +1,4 @@ -/* ulogd_MAC.c, Version $Revision: 1.9 $ +/* ulogd_MAC.c, Version $Revision$ * * ulogd output target for logging to a file * @@ -79,9 +79,12 @@ static int _output_print(ulog_iret_t *res) return 0; } -static config_entry_t outf_ce = { NULL, "file", CONFIG_TYPE_STRING, - CONFIG_OPT_NONE, 0, - { string: ULOGD_OPRINT_DEFAULT } }; +static config_entry_t outf_ce = { + .key = "file", + .type = CONFIG_TYPE_STRING, + .options = CONFIG_OPT_NONE, + .u.string = ULOGD_OPRINT_DEFAULT, +}; static void sighup_handler_print(int signal) { |