Browse code

dprint.c: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 18:59:28
Showing 1 changed files
... ...
@@ -98,8 +98,7 @@ int log_facility_fixup(void *handle, str *gname, str *name, void **val)
98 98
 	int	i;
99 99
 
100 100
 	if ((i = str2facility((char *)*val)) == -1) {
101
-		LOG(L_ERR, "log_facility_fixup: invalid log facility: %s\n",
102
-			(char *)*val);
101
+		LM_ERR("invalid log facility: %s\n", (char *)*val);
103 102
 		return -1;
104 103
 	}
105 104
 	*val = (void *)(long)i;