summaryrefslogtreecommitdiff
path: root/source3/lib
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
commit1cf379813842526e367b2930f79e566eba0a51e9 (patch)
tree16fd41b3502ddd52f23fdb743ddfb743bd92e8e0 /source3/lib
parent92e97934804758e2fea2e3bd8f9e6630007c8169 (diff)
downloadsamba-1cf379813842526e367b2930f79e566eba0a51e9.tar.gz
samba-1cf379813842526e367b2930f79e566eba0a51e9.tar.bz2
samba-1cf379813842526e367b2930f79e566eba0a51e9.zip
r4270: Add some const as a fix for bugzilla #2135.
(This used to be commit ad8fdcc6fdb08d206d324a152300933661c72c4b)
Diffstat (limited to 'source3/lib')
-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);