diff options
author | Mark Spencer <markster@digium.com> | 2004-04-13 04:27:06 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-04-13 04:27:06 +0000 |
commit | c5123109347ecd2cd6b646fe6f2cc9de9c52bf67 (patch) | |
tree | 4938cf7d66a359dfadb4a96b43fe4df21133d563 /logger.c | |
parent | e15b5a83d5c1562a1ca246d1ade541e5fc6a8026 (diff) |
Don't allow the format to be doubly handled
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } /* |