summaryrefslogtreecommitdiff
path: root/sysdep/unix/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix/log.c')
-rw-r--r--sysdep/unix/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index ccf35bf3..3ae98df8 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -261,7 +261,7 @@ default_log_list(int debug, int init, char **syslog_name)
#ifdef HAVE_SYSLOG
if (!debug)
{
- static struct log_config lc_syslog = { mask: ~0 };
+ static struct log_config lc_syslog = { .mask = ~0 };
add_tail(&init_log_list, &lc_syslog.n);
*syslog_name = bird_name;
if (!init)
@@ -269,7 +269,7 @@ default_log_list(int debug, int init, char **syslog_name)
}
#endif
- static struct log_config lc_stderr = { mask: ~0, terminal_flag: 1 };
+ static struct log_config lc_stderr = { .mask = ~0, .terminal_flag = 1 };
lc_stderr.fh = stderr;
add_tail(&init_log_list, &lc_stderr.n);
return &init_log_list;