Module: kamailio
Branch: master
Commit: 2571b99cf3d45369c0e1bb7e5539a062f1066b37
URL:
https://github.com/kamailio/kamailio/commit/2571b99cf3d45369c0e1bb7e5539a06…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2015-01-13T12:33:55-05:00
daemonize.c: logging: DBG -> LM_DBG
---
Modified: daemonize.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2571b99cf3d45369c0e1bb7e5539a06…
Patch:
https://github.com/kamailio/kamailio/commit/2571b99cf3d45369c0e1bb7e5539a06…
---
diff --git a/daemonize.c b/daemonize.c
index 919ad44..9d936d4 100644
--- a/daemonize.c
+++ b/daemonize.c
@@ -488,7 +488,7 @@ int increase_open_fds(int target)
goto error;
}
orig=lim;
- DBG("current open file limits: %lu/%lu\n",
+ LM_DBG("current open file limits: %lu/%lu\n",
(unsigned long)lim.rlim_cur, (unsigned long)lim.rlim_max);
if ((lim.rlim_cur==RLIM_INFINITY) || (target<=lim.rlim_cur))
/* nothing to do */
@@ -503,7 +503,7 @@ int increase_open_fds(int target)
lim.rlim_max=target;
lim.rlim_cur=target;
}
- DBG("increasing open file limits to: %lu/%lu\n",
+ LM_DBG("increasing open file limits to: %lu/%lu\n",
(unsigned long)lim.rlim_cur, (unsigned long)lim.rlim_max);
if (setrlimit(RLIMIT_NOFILE, &lim)<0){
LM_CRIT("cannot increase the open file limit to"
@@ -580,7 +580,7 @@ int set_core_dump(int enable, long unsigned int size)
}
}
done:
- DBG("core dump limits set to %lu\n", (unsigned long)newlim.rlim_cur);
+ LM_DBG("core dump limits set to %lu\n", (unsigned long)newlim.rlim_cur);
return 0;
error:
return -1;