mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
fixed a typo in vsyslog()
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)
This commit is contained in:
parent
c10bc7b9a1
commit
a237a8a296
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user