[sr-dev] git:master: lock_alloc.h: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 21:14:13 CEST 2014


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 15:14:03 2014 -0400

lock_alloc.h: logging: convert LOG to LM_*

---

 lock_alloc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lock_alloc.h b/lock_alloc.h
index 12be25c..84e9dac 100644
--- a/lock_alloc.h
+++ b/lock_alloc.h
@@ -71,7 +71,7 @@ inline static gen_lock_set_t* lock_set_alloc(int n)
 	gen_lock_set_t* ls;
 	ls=(gen_lock_set_t*)shm_malloc(sizeof(gen_lock_set_t)+n*sizeof(gen_lock_t));
 	if (ls==0){
-		LOG(L_CRIT, "ERROR: lock_set_alloc (FL): could not allocate lock_set\n");
+		LM_CRIT("could not allocate lock_set\n");
 	}else{
 		ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
 		ls->size=n;




More information about the sr-dev mailing list