summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-06-27 11:59:33 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-06-27 11:59:33 +0200
commit85c7f63eee765f44baf828b94a02ea6ee0b09747 (patch)
tree8f88f7da2ea758591694f3cccad8b3dc30df65cd /runtime
parent4e733fd8d868edd2bd97d9d4f6d6e207cf994230 (diff)
downloadrsyslog-85c7f63eee765f44baf828b94a02ea6ee0b09747.tar.gz
rsyslog-85c7f63eee765f44baf828b94a02ea6ee0b09747.tar.xz
rsyslog-85c7f63eee765f44baf828b94a02ea6ee0b09747.zip
improve invalid config command error message
Diffstat (limited to 'runtime')
-rw-r--r--runtime/cfsysline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/cfsysline.c b/runtime/cfsysline.c
index d8c33169..fdbb8f2a 100644
--- a/runtime/cfsysline.c
+++ b/runtime/cfsysline.c
@@ -947,7 +947,8 @@ rsRetVal processCfSysLineCommand(uchar *pCmdName, uchar **p)
iRet = llFind(&llCmdList, (void *) pCmdName, (void*) &pCmd);
if(iRet == RS_RET_NOT_FOUND) {
- errmsg.LogError(0, RS_RET_NOT_FOUND, "invalid or yet-unknown config file command - have you forgotten to load a module?");
+ errmsg.LogError(0, RS_RET_NOT_FOUND, "invalid or yet-unknown config file command '%s' - "
+ "have you forgotten to load a module?", pCmdName);
}
if(iRet != RS_RET_OK)