@@ -499,7 +499,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)
{
@@ -539,7 +539,7 @@ void km_bdblib_log(int op, table_p _tp, char* _msg, int len)