From c2c72450306cdcdf42e877af299d7a1ed5def984 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 4 Aug 2009 13:49:15 +0200 Subject: remove "discard const" compiler warnings with log_message(). Michael --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/log.c') 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; -- cgit v1.2.3