1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r4270: Add some const as a fix for bugzilla #2135.

This commit is contained in:
Tim Potter 2004-12-19 00:53:52 +00:00 committed by Gerald (Jerry) Carter
parent f00ae4ab0c
commit ad8fdcc6fd

View File

@ -420,7 +420,7 @@ char *rep_inet_ntoa(struct in_addr ip)
#ifndef HAVE_VSYSLOG
#ifdef HAVE_SYSLOG
void vsyslog (int facility_priority, char *format, va_list arglist)
void vsyslog (int facility_priority, const char *format, va_list arglist)
{
char *msg = NULL;
vasprintf(&msg, format, arglist);