summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-08-22 15:32:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-22 15:32:32 +0200
commit06cf49e5a6cd25abe7c77fe3df97b7f87b9c576e (patch)
tree5f0c94733d2bb89929a1d5002af3b0b1bf3755f3
parentd92ad440da788fea9f17bfa4b0185f12644bf714 (diff)
downloadrsyslog-06cf49e5a6cd25abe7c77fe3df97b7f87b9c576e.zip
rsyslog-06cf49e5a6cd25abe7c77fe3df97b7f87b9c576e.tar.gz
rsyslog-06cf49e5a6cd25abe7c77fe3df97b7f87b9c576e.tar.xz
nit: forward-compatible default ruleset name as used in next version
-rw-r--r--runtime/ruleset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
index d608f3a..14dc4c7 100644
--- a/runtime/ruleset.c
+++ b/runtime/ruleset.c
@@ -518,7 +518,7 @@ rulesetCreateQueue(void __attribute__((unused)) *pVal, int *pNewVal)
if(pNewVal == 0)
FINALIZE; /* if it is turned off, we do not need to change anything ;) */
- rsname = (pCurrRuleset->pszName == NULL) ? (uchar*) "[NONAME]" : pCurrRuleset->pszName;
+ rsname = (pCurrRuleset->pszName == NULL) ? (uchar*) "[ruleset]" : pCurrRuleset->pszName;
DBGPRINTF("adding a ruleset-specific \"main\" queue for ruleset '%s'\n", rsname);
CHKiRet(createMainQueue(&pCurrRuleset->pQueue, rsname));