summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/syslog.c b/syslog.c
index 563c0220..8c7b81ef 100644
--- a/syslog.c
+++ b/syslog.c
@@ -122,8 +122,7 @@ val syslog_wrapv(val prio, val fmt, struct args *args)
val syslog_wrap(val prio, val fmt, val arglist)
{
- struct args *args = args_alloc(ARGS_MIN);
- args_init_list(args, ARGS_MIN, arglist);
+ args_decl_list(args, ARGS_MIN, arglist);
return syslog_wrapv(prio, fmt, args);
}