diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-01 14:43:54 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-01 14:43:54 +0200 |
commit | e4f012eb60f6531f964557ba9eac54048ae2bef8 (patch) | |
tree | 8c3a6a67e26d5b244fdffeece2c1e832e8e5df6e /tools/omfile.c | |
parent | a66b69533e38fdc40a7832b99c36e4d25bba80b2 (diff) | |
parent | e3f21521cd6ae237fd9b362281fe188380210fb5 (diff) | |
download | rsyslog-e4f012eb60f6531f964557ba9eac54048ae2bef8.tar.gz rsyslog-e4f012eb60f6531f964557ba9eac54048ae2bef8.tar.xz rsyslog-e4f012eb60f6531f964557ba9eac54048ae2bef8.zip |
Merge branch 'master' of git+ssh://rger@git.adiscon.com/git/rsyslog
Diffstat (limited to 'tools/omfile.c')
-rw-r--r-- | tools/omfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index 65306846..5141b4da 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -725,7 +725,6 @@ CODESTARTparseSelectorAct } else { pData->bSyncFile = bEnableSync ? 1 : 0; } - pData->f_sizeLimit = 0; /* default value, use outchannels to configure! */ switch (*p) @@ -822,7 +821,7 @@ CODESTARTparseSelectorAct if(pData->fd < 0 ) { pData->fd = -1; DBGPRINTF("Error opening log file: %s\n", pData->f_fname); - errmsg.LogError(0, NO_ERRCODE, "%s", pData->f_fname); + errmsg.LogError(0, RS_RET_NO_FILE_ACCESS, "Could no open output file '%s'", pData->f_fname); break; } if(strcmp((char*) p, _PATH_CONSOLE) == 0) |