summaryrefslogtreecommitdiffhomepage
path: root/src/log.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-04 13:49:15 +0200
committerMichael Adam <obnox@samba.org>2009-08-04 23:47:26 +0200
commitc2c72450306cdcdf42e877af299d7a1ed5def984 (patch)
tree66d7a67d795439a859a5c40e93d5389cdb2ceac6 /src/log.c
parentc409e0f9d86f8b2a0dc73a59a5b13a9e2375d23f (diff)
remove "discard const" compiler warnings with log_message().
Michael
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index f74d4fd..ca42c43 100644
--- a/src/log.c
+++ b/src/log.c
@@ -103,7 +103,7 @@ set_log_level (int level)
* This routine logs messages to either the log file or the syslog function.
*/
void
-log_message (int level, char *fmt, ...)
+log_message (int level, const char *fmt, ...)
{
va_list args;
time_t nowtime;