Get rid of compiler warnings when calling ast_queue_log
[asterisk/asterisk.git] / logger.c
index 421eaf5..a22f78d 100755 (executable)
--- a/logger.c
+++ b/logger.c
@@ -252,9 +252,9 @@ static void queue_log_init(void)
        qlog = fopen(filename, "a");
        ast_mutex_unlock(&qloglock);
        if (reloaded) 
-               ast_queue_log("NONE", "NONE", "NONE", "CONFIGRELOAD", "");
+               ast_queue_log("NONE", "NONE", "NONE", "CONFIGRELOAD", "%s", "");
        else
-               ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "");
+               ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "%s", "");
 }
 
 int reload_logger(int rotate)