summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-11 08:10:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-11 08:10:47 +0000
commite79199816d67fe2e8a93aedf84dc0b8f7652521b (patch)
tree65feff529ce155f952854562be63586233a96de1 /syslogd.c
parent0bf49adac95ea3c21a7dd8676465a4f50dcb11ea (diff)
downloadrsyslog-e79199816d67fe2e8a93aedf84dc0b8f7652521b.tar.gz
rsyslog-e79199816d67fe2e8a93aedf84dc0b8f7652521b.tar.xz
rsyslog-e79199816d67fe2e8a93aedf84dc0b8f7652521b.zip
fixed invalid dbgprintf() name - patch contained old name, I had forgotten
to update it to new name.
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 4ad14ecc..5778d2a5 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3463,7 +3463,7 @@ static void debug_switch()
{
struct sigaction sigAct;
- dprintf("Switching debugging_on to %s\n", (debugging_on == 0) ? "true" : "false");
+ dbgprintf("Switching debugging_on to %s\n", (debugging_on == 0) ? "true" : "false");
debugging_on = (debugging_on == 0) ? 1 : 0;
memset(&sigAct, 0, sizeof (sigAct));
@@ -5830,6 +5830,8 @@ static void mainloop(void)
* TODO: I got some information: this seems to be expected signal() behaviour
* we should investigate the use of sigaction() (see klogd.c for an sample).
* rgerhards, 2007-06-22
+ * rgerhards, 2007-09-11: code has been converted to sigaction() now. We need
+ * to re-check on BSD, I think the issue is now solved.
*/
tvSelectTimeout.tv_sec = 10;
tvSelectTimeout.tv_usec = 0;