dprint.c: logging: convert LOG to LM_*
authorOvidiu Sas <osas@voipembedded.com>
Fri, 3 Oct 2014 18:59:28 +0000 (14:59 -0400)
committerOvidiu Sas <osas@voipembedded.com>
Fri, 3 Oct 2014 18:59:28 +0000 (14:59 -0400)
dprint.c

index 4906001..caf39c3 100644 (file)
--- a/dprint.c
+++ b/dprint.c
@@ -98,8 +98,7 @@ int log_facility_fixup(void *handle, str *gname, str *name, void **val)
        int     i;
 
        if ((i = str2facility((char *)*val)) == -1) {
-               LOG(L_ERR, "log_facility_fixup: invalid log facility: %s\n",
-                       (char *)*val);
+               LM_ERR("invalid log facility: %s\n", (char *)*val);
                return -1;
        }
        *val = (void *)(long)i;