summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-03 16:11:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-03 16:11:40 +0000
commiteb0d4661e34ac6f59a8ebdfb146b7088d06d9102 (patch)
tree50c8870584d43f2b8d27d2346307d5c193025917 /plugins/imklog
parent7cf93c46329153330730e14ae7a79303de187be1 (diff)
downloadrsyslog-eb0d4661e34ac6f59a8ebdfb146b7088d06d9102.tar.gz
rsyslog-eb0d4661e34ac6f59a8ebdfb146b7088d06d9102.tar.xz
rsyslog-eb0d4661e34ac6f59a8ebdfb146b7088d06d9102.zip
fixed old references to rklogd - thanks to Michael Biebl for spotting them.
Diffstat (limited to 'plugins/imklog')
-rw-r--r--plugins/imklog/imklog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index 72960e1c..11bc8d41 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -285,7 +285,7 @@ static enum LOGSRC GetKernelLogSrc(void)
if ( (kmsg = open(_PATH_KLOG, O_RDONLY)) < 0 )
{
char sz[512];
- snprintf(sz, sizeof(sz), "rklogd: Cannot open proc file system, %d - %s.\n", errno, strerror(errno));
+ snprintf(sz, sizeof(sz), "imklog: Cannot open proc file system, %d - %s.\n", errno, strerror(errno));
logmsgInternal(LOG_SYSLOG|LOG_ERR, sz, ADDDATE);
ksyslog(7, NULL, 0); /* TODO: check this, implement more */
return(none);
@@ -568,7 +568,7 @@ static void LogKernelLine(void)
char sz[512];
if(errno == EINTR)
return;
- snprintf(sz, sizeof(sz), "rklogd: Error return from sys_sycall: %d - %s\n", errno, strerror(errno));
+ snprintf(sz, sizeof(sz), "imklog: Error return from sys_sycall: %d - %s\n", errno, strerror(errno));
logmsgInternal(LOG_SYSLOG|LOG_ERR, sz, ADDDATE);
}
else