summaryrefslogtreecommitdiffstats
path: root/source/lib/replace/replace.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-29 12:30:14 +0000
committerStefan Metzmacher <metze@samba.org>2006-09-29 12:30:14 +0000
commit1491cb4a1474aaef0b5411015de790099e8e22fc (patch)
tree612b99db709e836593501cae1ed0940d1c9eacd0 /source/lib/replace/replace.c
parent5ad53b1e6236b2eddbf1ba875601486baae49e2b (diff)
downloadsamba-1491cb4a1474aaef0b5411015de790099e8e22fc.tar.gz
samba-1491cb4a1474aaef0b5411015de790099e8e22fc.tar.xz
samba-1491cb4a1474aaef0b5411015de790099e8e22fc.zip
r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format' metze
Diffstat (limited to 'source/lib/replace/replace.c')
-rw-r--r--source/lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace/replace.c b/source/lib/replace/replace.c
index aa3e8717c22..e7f47d7d521 100644
--- a/source/lib/replace/replace.c
+++ b/source/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);