summaryrefslogtreecommitdiff
path: root/source3/lib/replace/replace.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-29 12:30:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:55 -0500
commitce11194ce0fc668008fab1084990bdcca1c120b4 (patch)
tree79033e75db026877e92f387f86803e0100ddde73 /source3/lib/replace/replace.c
parent43be47f56bcaa2fd93ede867663cddec04fd8fed (diff)
downloadsamba-ce11194ce0fc668008fab1084990bdcca1c120b4.tar.gz
samba-ce11194ce0fc668008fab1084990bdcca1c120b4.tar.bz2
samba-ce11194ce0fc668008fab1084990bdcca1c120b4.zip
r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format' metze (This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
Diffstat (limited to 'source3/lib/replace/replace.c')
-rw-r--r--source3/lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/replace.c b/source3/lib/replace/replace.c
index aa3e8717c2..e7f47d7d52 100644
--- a/source3/lib/replace/replace.c
+++ b/source3/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);