summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-18 11:11:07 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-18 11:11:07 +0200
commit17133f2cd18a2b5376d40a01b87c970b3a47c265 (patch)
treeef857337dc0db50271c7e30faae259d6fba3f0cd /tools/omfile.c
parent3e2be47ed69d2b4ce21777a75ad6128592e84d1d (diff)
parentbca66bc1399d1b9bcc370c64b5a8befb2244695d (diff)
downloadrsyslog-17133f2cd18a2b5376d40a01b87c970b3a47c265.tar.gz
rsyslog-17133f2cd18a2b5376d40a01b87c970b3a47c265.tar.xz
rsyslog-17133f2cd18a2b5376d40a01b87c970b3a47c265.zip
Merge branch 'v3-stable' into 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