Module: sems
Branch: master
Commit: d30c0afb718a41a834253c534d17d30e631d7c4d
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d30c0afb718a41a834253c534d17d30e631d7c4d

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Wed Feb 22 13:18:50 2012 +0100

b/f: fix type in logging format.

---

 core/log.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/log.cpp b/core/log.cpp
index a65907b..e45bfe3 100644
--- a/core/log.cpp
+++ b/core/log.cpp
@@ -124,10 +124,10 @@ void SyslogLogFac::log(int level, pid_t pid, pthread_t 
tid, const char* func, co
 
 # ifndef NO_THREADID_LOG
 #  ifdef LOG_LOC_DATA_ATEND
-  syslog(log2syslog_level[level], "%s: %s [#%lx] [%s %s:%d]",
+  syslog(log2syslog_level[level], "%s: %s [#%p] [%s %s:%d]",
       log_level2str[level], msg, tid, func, file, line);
 #  else
-  syslog(log2syslog_level[level], "[#%lx] [%s, %s:%d] %s: %s",
+  syslog(log2syslog_level[level], "[#%p] [%s, %s:%d] %s: %s",
         tid, func, file, line, log_level2str[level], msg);
 #  endif
 # else /* NO_THREADID_LOG */

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to