summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c
index 900ba381a0..88eea2824b 100644
--- a/source3/lib/snprintf.c
+++ b/source3/lib/snprintf.c
@@ -816,7 +816,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
void vsyslog (int facility_priority, char *format, va_list arglist)
{
char *msg = NULL;
- vasprintf(&msg, format, argslist);
+ vasprintf(&msg, format, arglist);
if (!msg)
return;
syslog(facility_priority, "%s", msg);