Browse Source

select_buf.c: logging: convert LOG to LM_*

Ovidiu Sas 11 years ago
parent
commit
500f06d314
1 changed files with 1 additions and 1 deletions
  1. 1 1
      select_buf.c

+ 1 - 1
select_buf.c

@@ -115,7 +115,7 @@ char* get_static_buffer(int req_size) {
 
 
 #ifdef EXTRA_DEBUG
 #ifdef EXTRA_DEBUG
 	if ((active_buffer < 0) || (active_buffer > MAX_BUFFERS-1)) {
 	if ((active_buffer < 0) || (active_buffer > MAX_BUFFERS-1)) {
-		LOG(L_CRIT, "BUG: buffers have not been initialized yet. "
+		LM_CRIT("buffers have not been initialized yet. "
 			"Call reset_static_buffer() before executing "
 			"Call reset_static_buffer() before executing "
 			"a route block.\n");
 			"a route block.\n");
 		abort();
 		abort();