diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-15 16:17:51 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-15 16:17:51 +0000 |
commit | bb7c2ef720618e4c7707013f732ef14ba751908c (patch) | |
tree | c7963cf65207010ceac19b7d1b335c53978ac84a /stream.c | |
parent | 8f5c0764aaafc9eab72d20761ecba6a27d321f89 (diff) | |
download | rsyslog-bb7c2ef720618e4c7707013f732ef14ba751908c.tar.gz rsyslog-bb7c2ef720618e4c7707013f732ef14ba751908c.tar.xz rsyslog-bb7c2ef720618e4c7707013f732ef14ba751908c.zip |
changed startup of disk assisted mode to allow for higher concurrency, most
importantly allow the input to continue enqueue msgs while the disk
queue is initialized. This may help somewhat with UDP and other lossy
sources
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -389,7 +389,7 @@ static rsRetVal strmWriteInternal(strm_t *pThis, uchar *pBuf, size_t lenBuf) iWritten = write(pThis->fd, pBuf, lenBuf); dbgprintf("Stream 0x%lx: file %d write wrote %d bytes, errno: %d\n", (unsigned long) pThis, - iWritten, pThis->fd, errno); + pThis->fd, iWritten, errno); /* TODO: handle error case -- rgerhards, 2008-01-07 */ /* Now indicate buffer empty again. We do this in any case, because there |