summaryrefslogtreecommitdiffstats
path: root/source/lib/replace.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-12-19 00:53:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:41 -0500
commitad8fdcc6fdb08d206d324a152300933661c72c4b (patch)
tree6fa352f15f8ca04ce1a94591bee4fbd974fc62e2 /source/lib/replace.c
parentf00ae4ab0c36a623257861fb65373b39cf075921 (diff)
downloadsamba-ad8fdcc6fdb08d206d324a152300933661c72c4b.tar.gz
samba-ad8fdcc6fdb08d206d324a152300933661c72c4b.tar.xz
samba-ad8fdcc6fdb08d206d324a152300933661c72c4b.zip
r4270: Add some const as a fix for bugzilla #2135.
Diffstat (limited to 'source/lib/replace.c')
-rw-r--r--source/lib/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace.c b/source/lib/replace.c
index ddf6a02104b..298707727e9 100644
--- a/source/lib/replace.c
+++ b/source/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);