summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-18 11:11:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-18 11:11:59 +0200
commita6ed4b59cc39fe802d06f113f238f1ffe90b7cf6 (patch)
treebc3537fec2e3e386effc1d7d01050eabae8156ed /tools/omfile.c
parent74b2b24f508be90d20961304d5e3cce648f3eb7c (diff)
parent17133f2cd18a2b5376d40a01b87c970b3a47c265 (diff)
downloadrsyslog-a6ed4b59cc39fe802d06f113f238f1ffe90b7cf6.tar.gz
rsyslog-a6ed4b59cc39fe802d06f113f238f1ffe90b7cf6.tar.bz2
rsyslog-a6ed4b59cc39fe802d06f113f238f1ffe90b7cf6.zip
Merge branch 'beta'
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index c7283e4d..3e845a73 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -132,7 +132,7 @@ ENDisCompatibleWithFeature
BEGINdbgPrintInstInfo
CODESTARTdbgPrintInstInfo
if(pData->bDynamicName) {
- printf("[dynamic]\n\ttemplate='%s'"
+ dbgprintf("[dynamic]\n\ttemplate='%s'"
"\tfile cache size=%d\n"
"\tcreate directories: %s\n"
"\tfile owner %d, group %d\n"
@@ -146,9 +146,9 @@ CODESTARTdbgPrintInstInfo
pData->bFailOnChown ? "yes" : "no"
);
} else { /* regular file */
- printf("%s", pData->f_fname);
+ dbgprintf("%s", pData->f_fname);
if (pData->fd == -1)
- printf(" (unused)");
+ dbgprintf(" (unused)");
}
ENDdbgPrintInstInfo