summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-29 12:38:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:28 -0500
commite8a005acfe15462b2f7e2aaa66a585d6da098a09 (patch)
treec4e266c054da50cd5d412d89af8861e55a090c13 /source4/lib/replace/replace.c
parent9eab500f56140b002e5579cac114c3c6855e647e (diff)
downloadsamba-e8a005acfe15462b2f7e2aaa66a585d6da098a09.tar.gz
samba-e8a005acfe15462b2f7e2aaa66a585d6da098a09.tar.bz2
samba-e8a005acfe15462b2f7e2aaa66a585d6da098a09.zip
r18999: merge from samba3:
- make more usage of PRINTF_ATTRIBUTE() - vsyslog takes a 'const char *format' metze (This used to be commit cdcd4232d2f383f4d2f9ca1d049b7b3cc7b58359)
Diffstat (limited to 'source4/lib/replace/replace.c')
-rw-r--r--source4/lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index aa3e8717c2..e7f47d7d52 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/lib/replace/replace.c
@@ -346,7 +346,7 @@ void rep_setlinebuf(FILE *stream)
#ifndef HAVE_VSYSLOG
#ifdef HAVE_SYSLOG
-void rep_vsyslog (int facility_priority, char *format, va_list arglist)
+void rep_vsyslog (int facility_priority, const char *format, va_list arglist)
{
char *msg = NULL;
vasprintf(&msg, format, arglist);