summaryrefslogtreecommitdiffstats
path: root/ulogd/extensions/ulogd_OPRINT.c
diff options
context:
space:
mode:
Diffstat (limited to 'ulogd/extensions/ulogd_OPRINT.c')
-rw-r--r--ulogd/extensions/ulogd_OPRINT.c11
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)
{