summaryrefslogtreecommitdiffstats
path: root/plugins/imklog/bsd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon>2008-04-14 12:10:00 +0200
committerRainer Gerhards <rgerhards@adiscon>2008-04-14 12:10:00 +0200
commit3669057997e7665735626fd29a40bd10e160c88f (patch)
tree9c6b6540b04dc0bfde6b7b1b59ea5ea21c47ef37 /plugins/imklog/bsd.c
parentaf26ba581643463ec59a7b9fd69f5ffbed347d0a (diff)
downloadrsyslog-3669057997e7665735626fd29a40bd10e160c88f.tar.gz
rsyslog-3669057997e7665735626fd29a40bd10e160c88f.tar.bz2
rsyslog-3669057997e7665735626fd29a40bd10e160c88f.zip
provided ability to discard non-kernel messages present in the kernel msg buffer
This obviously happens on BSD (<118> markers seen). We now have the ability to allow or prevent it, with the default being not permitted. Should not at all affect other drivers, but it is implemented on a common code basis, not on the driver layer.
Diffstat (limited to 'plugins/imklog/bsd.c')
-rw-r--r--plugins/imklog/bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imklog/bsd.c b/plugins/imklog/bsd.c
index 9989d5fb..c12103f3 100644
--- a/plugins/imklog/bsd.c
+++ b/plugins/imklog/bsd.c
@@ -84,7 +84,7 @@ static int fklog = -1; /* /dev/klog */
#endif
/* open the kernel log - will be called inside the willRun() imklog
- * entry point. -- rgerhards, 20080-04-09
+ * entry point. -- rgerhards, 2008-04-09
*/
rsRetVal
klogWillRun(void)