summaryrefslogtreecommitdiffstats
path: root/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-08 08:20:06 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-08 08:20:06 +0000
commitfed254a29f88d12d18b3e8dd06ef126bed219ed0 (patch)
tree19c947b5a259c00597580f884721aee2e64173a2 /modules.c
parent12c7e9ab4bba93e019f7f118d036d7dedcdf0037 (diff)
downloadrsyslog-fed254a29f88d12d18b3e8dd06ef126bed219ed0.tar.gz
rsyslog-fed254a29f88d12d18b3e8dd06ef126bed219ed0.tar.xz
rsyslog-fed254a29f88d12d18b3e8dd06ef126bed219ed0.zip
changed function name dprintf() to dbgprintf() as it conflicts with the
clib
Diffstat (limited to 'modules.c')
-rw-r--r--modules.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/modules.c b/modules.c
index ec816c43..6e4d0395 100644
--- a/modules.c
+++ b/modules.c
@@ -245,7 +245,7 @@ finalize_it:
/* Print loaded modules. This is more or less a
* debug or test aid, but anyhow I think it's worth it...
- * This only works if the dprintf() subsystem is initialized.
+ * This only works if the dbgprintf() subsystem is initialized.
*/
void modPrintList(void)
{
@@ -253,28 +253,28 @@ void modPrintList(void)
pMod = modGetNxt(NULL);
while(pMod != NULL) {
- dprintf("Loaded Module: Name='%s', IFVersion=%d, ",
+ dbgprintf("Loaded Module: Name='%s', IFVersion=%d, ",
(char*) modGetName(pMod), pMod->iIFVers);
- dprintf("type=");
+ dbgprintf("type=");
switch(pMod->eType) {
case eMOD_OUT:
- dprintf("output");
+ dbgprintf("output");
break;
case eMOD_IN:
- dprintf("input");
+ dbgprintf("input");
break;
case eMOD_FILTER:
- dprintf("filter");
+ dbgprintf("filter");
break;
}
- dprintf(" module.\n");
- dprintf("Entry points:\n");
- dprintf("\tqueryEtryPt: 0x%x\n", (unsigned) pMod->modQueryEtryPt);
- dprintf("\tdoAction: 0x%x\n", (unsigned) pMod->mod.om.doAction);
- dprintf("\tparseSelectorAct: 0x%x\n", (unsigned) pMod->mod.om.parseSelectorAct);
- dprintf("\tdbgPrintInstInfo: 0x%x\n", (unsigned) pMod->dbgPrintInstInfo);
- dprintf("\tfreeInstance: 0x%x\n", (unsigned) pMod->freeInstance);
- dprintf("\n");
+ dbgprintf(" module.\n");
+ dbgprintf("Entry points:\n");
+ dbgprintf("\tqueryEtryPt: 0x%x\n", (unsigned) pMod->modQueryEtryPt);
+ dbgprintf("\tdoAction: 0x%x\n", (unsigned) pMod->mod.om.doAction);
+ dbgprintf("\tparseSelectorAct: 0x%x\n", (unsigned) pMod->mod.om.parseSelectorAct);
+ dbgprintf("\tdbgPrintInstInfo: 0x%x\n", (unsigned) pMod->dbgPrintInstInfo);
+ dbgprintf("\tfreeInstance: 0x%x\n", (unsigned) pMod->freeInstance);
+ dbgprintf("\n");
pMod = modGetNxt(pMod); /* done, go next */
}
}