From ad8fdcc6fdb08d206d324a152300933661c72c4b Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 19 Dec 2004 00:53:52 +0000 Subject: [PATCH] r4270: Add some const as a fix for bugzilla #2135. --- source/lib/replace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3