r4270: Add some const as a fix for bugzilla #2135.
authorTim Potter <tpot@samba.org>
Sun, 19 Dec 2004 00:53:52 +0000 (00:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:41 +0000 (10:53 -0500)
(This used to be commit ad8fdcc6fdb08d206d324a152300933661c72c4b)

source3/lib/replace.c

index ddf6a02104b3759aff34c3f9ace353aced37c722..298707727e928be82628cdd01a517e21094a0a4f 100644 (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);