summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace.c b/source3/lib/replace.c
index ddf6a02104..298707727e 100644
--- a/source3/lib/replace.c
+++ b/source3/lib/replace.c
@@ -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);