summaryrefslogtreecommitdiffstats
path: root/plugins/imfile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-10-13 08:18:08 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-10-13 08:18:08 +0200
commitb0d33ab78056f06dee06694990a71fc7895ddbb5 (patch)
treeea4d633e8452b2f56df419d9e6bf5ec4da95e0b0 /plugins/imfile
parent76b4c6547d5526a375ee217e2722a164c811c58c (diff)
parentd6a6666b66733e63255f806dd272a0b85e0f0c13 (diff)
downloadrsyslog-b0d33ab78056f06dee06694990a71fc7895ddbb5.tar.gz
rsyslog-b0d33ab78056f06dee06694990a71fc7895ddbb5.tar.xz
rsyslog-b0d33ab78056f06dee06694990a71fc7895ddbb5.zip
Merge branch 'v5-stable' into beta
Conflicts: ChangeLog
Diffstat (limited to 'plugins/imfile')
-rw-r--r--plugins/imfile/imfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index 37d3136c..834afd6d 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -147,10 +147,10 @@ openFile(fileInfo_t *pThis)
/* check if the file exists */
if(stat((char*) pszSFNam, &stat_buf) == -1) {
if(errno == ENOENT) {
- /* currently no object! dbgoprint((obj_t*) pThis, "clean startup, no .si file found\n"); */
+ dbgprintf("filemon %p: clean startup, no .si file found\n", pThis);
ABORT_FINALIZE(RS_RET_FILE_NOT_FOUND);
} else {
- /* currently no object! dbgoprint((obj_t*) pThis, "error %d trying to access .si file\n", errno); */
+ dbgprintf("filemon %p: error %d trying to access .si file\n", pThis, errno);
ABORT_FINALIZE(RS_RET_IO_ERROR);
}
}