diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-18 11:10:28 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-18 11:10:28 +0200 |
commit | bca66bc1399d1b9bcc370c64b5a8befb2244695d (patch) | |
tree | 19619f6a03d09b8d4aa58123451e5f4ebc603dd7 /tools/omfile.c | |
parent | 7f78b2ef65634d4320325cca4793caa3d50ef777 (diff) | |
download | rsyslog-bca66bc1399d1b9bcc370c64b5a8befb2244695d.tar.gz rsyslog-bca66bc1399d1b9bcc370c64b5a8befb2244695d.tar.bz2 rsyslog-bca66bc1399d1b9bcc370c64b5a8befb2244695d.zip |
some minor bugfixes
- bugfix: invalid error message issued if $inlcudeConfig was on an empty
set of files (e.g. *.conf, where none such files existed)
thanks to Michael Biebl for reporting this bug
- bugfix: when run in foreground (but not in debug mode), a
debug message ("DoDie called") was emitted at shutdown. Removed.
thanks to Michael Biebl for reporting this bug
- bugfix: some garbagge was emitted to stderr on shutdown. This
garbage consisted of file names, which were written during
startup (key point: not a pointer error)
thanks to Michael Biebl for reporting this bug
- bugfix: startup and shutdown message were emitted to stdout
thanks to Michael Biebl for reporting this bug
Diffstat (limited to 'tools/omfile.c')
-rw-r--r-- | tools/omfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index 5e0f849b..fb83632a 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -128,7 +128,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" @@ -142,9 +142,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 |