summaryrefslogtreecommitdiffstats
path: root/source/lib/snprintf.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-21 11:04:14 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-21 11:04:14 +0000
commitda353bc539db6e2f8d834275abdd9b5fb47b9db8 (patch)
treef481881a789f173129081928ba55ca0f3970003c /source/lib/snprintf.c
parentb60d6f11972892a17bf6df5e7ee3dd2e498bc4c0 (diff)
downloadsamba-da353bc539db6e2f8d834275abdd9b5fb47b9db8.tar.gz
samba-da353bc539db6e2f8d834275abdd9b5fb47b9db8.tar.xz
samba-da353bc539db6e2f8d834275abdd9b5fb47b9db8.zip
fixed a typo in vsyslog()
Diffstat (limited to 'source/lib/snprintf.c')
-rw-r--r--source/lib/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/snprintf.c b/source/lib/snprintf.c
index 900ba381a0d..88eea2824be 100644
--- a/source/lib/snprintf.c
+++ b/source/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);