[sr-dev] git:master: lock_ops.c: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 23:22:36 CEST 2014


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 17:22:31 2014 -0400

lock_ops.c: logging: convert LOG to LM_*

---

 lock_ops.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lock_ops.c b/lock_ops.c
index 1f0cbe3..3392c58 100644
--- a/lock_ops.c
+++ b/lock_ops.c
@@ -55,9 +55,8 @@ int init_lock_ops(void)
 	
 	os_ver=get_sys_version(0, 0, 0);
 	if (os_ver < 0x020546 ){ /* if ver < 2.5.70 */
-		LOG(L_CRIT, "ERROR: init_lock_ops: old kernel:"
-				" compiled with FUTEX support which is not present in the"
-				" running kernel (try  2.6+)\n");
+		LM_CRIT("old kernel: compiled with FUTEX support which is not"
+				" present in the running kernel (try  2.6+)\n");
 		return -1;
 	}
 #endif




More information about the sr-dev mailing list