summaryrefslogtreecommitdiff
path: root/sysdep/unix/log.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.cz>2014-12-03 10:10:34 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-21 19:31:36 +0100
commit4a591d4b947e0abc0ad013ca1b75da27c6922be5 (patch)
tree01327290a9810cc068429f81099dbc684bd8306f /sysdep/unix/log.c
parent8ce9a87755372d7612375bb1a81a288f309746c8 (diff)
Replacing GNU old-style field designator extension
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;