diff --git a/logger.c b/logger.c
index 51574205a40b29237aa9b640e529e7000efae653..0fadf2edbac3af33279475118217687d620b01bd 100755
--- a/logger.c
+++ b/logger.c
@@ -440,7 +440,7 @@ static void ast_log_vsyslog(int level, const char *file, int line, const char *f
 		 levels[level], (long)pthread_self(), file, line, function);
     }
     vsnprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), fmt, args);
-    syslog(syslog_level_map[level], buf);
+    syslog(syslog_level_map[level], "%s", buf);
 }
 
 /*