summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-04 15:59:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-04 15:59:37 +0200
commit76da7f9f4e3dc900046a1956153d10532f2b1ae0 (patch)
treef8d6c17b4d968a63fd07e7500ba020cdce37cd8a /tools/syslogd.c
parentf2800ba261d2fb7466cbdebbf80afe92f0bffd3d (diff)
downloadrsyslog-76da7f9f4e3dc900046a1956153d10532f2b1ae0.tar.gz
rsyslog-76da7f9f4e3dc900046a1956153d10532f2b1ae0.tar.xz
rsyslog-76da7f9f4e3dc900046a1956153d10532f2b1ae0.zip
added $OMFileIOBufferSize config directive and plumbing
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r--tools/syslogd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 22cb6879..206b79e8 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -3042,18 +3042,18 @@ static rsRetVal loadBuildInModules(void)
{
DEFiRet;
- if((iRet = module.doModInit(modInitFile, (uchar*) "builtin-file", NULL)) != RS_RET_OK) {
+ if((iRet = module.doModInit(modInitFile, UCHAR_CONSTANT("builtin-file"), NULL)) != RS_RET_OK) {
RETiRet;
}
#ifdef SYSLOG_INET
- if((iRet = module.doModInit(modInitFwd, (uchar*) "builtin-fwd", NULL)) != RS_RET_OK) {
+ if((iRet = module.doModInit(modInitFwd, UCHAR_CONSTANT("builtin-fwd"), NULL)) != RS_RET_OK) {
RETiRet;
}
#endif
- if((iRet = module.doModInit(modInitShell, (uchar*) "builtin-shell", NULL)) != RS_RET_OK) {
+ if((iRet = module.doModInit(modInitShell, UCHAR_CONSTANT("builtin-shell"), NULL)) != RS_RET_OK) {
RETiRet;
}
- if((iRet = module.doModInit(modInitDiscard, (uchar*) "builtin-discard", NULL)) != RS_RET_OK) {
+ if((iRet = module.doModInit(modInitDiscard, UCHAR_CONSTANT("builtin-discard"), NULL)) != RS_RET_OK) {
RETiRet;
}