Module: sip-router Branch: master Commit: 8b506f7d9b8eba682d180e458b0e2a278053d29a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8b506f7d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sun May 30 11:03:22 2010 +0200
db_berkeley: get rid of compile warnings
---
modules/db_berkeley/bdb_lib.c | 2 +- modules/db_berkeley/km_bdb_lib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/db_berkeley/bdb_lib.c b/modules/db_berkeley/bdb_lib.c index 0c3b6df..910ef3e 100644 --- a/modules/db_berkeley/bdb_lib.c +++ b/modules/db_berkeley/bdb_lib.c @@ -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) { diff --git a/modules/db_berkeley/km_bdb_lib.c b/modules/db_berkeley/km_bdb_lib.c index 90dacaf..0c53664 100644 --- a/modules/db_berkeley/km_bdb_lib.c +++ b/modules/db_berkeley/km_bdb_lib.c @@ -539,7 +539,7 @@ void km_bdblib_log(int op, 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) {