summaryrefslogtreecommitdiff
path: root/source3/lib
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
commita237a8a2964d478ad43393dffe98899d80bb8546 (patch)
tree55b67534458ca7d6fdbb1ab4cbd69062551f675d /source3/lib
parentc10bc7b9a1410f5df4ff665a791ddd59e443556b (diff)
downloadsamba-a237a8a2964d478ad43393dffe98899d80bb8546.tar.gz
samba-a237a8a2964d478ad43393dffe98899d80bb8546.tar.bz2
samba-a237a8a2964d478ad43393dffe98899d80bb8546.zip
fixed a typo in vsyslog()
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)
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);