@@ -492,7 +492,7 @@ void bdblib_log(int op, bdb_db_p _db_p, bdb_table_p _tp, char* _msg, int len)
puts(buf);
if ((_tp->logflags & JLOG_SYSLOG) == JLOG_SYSLOG)
- syslog(LOG_LOCAL6, buf);
+ syslog(LOG_LOCAL6, "%s", buf);
if(_tp->fp)
{
@@ -532,7 +532,7 @@ void km_bdblib_log(int op, table_p _tp, char* _msg, int len)