summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-15 16:17:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-15 16:17:51 +0000
commitbb7c2ef720618e4c7707013f732ef14ba751908c (patch)
treec7963cf65207010ceac19b7d1b335c53978ac84a /stream.c
parent8f5c0764aaafc9eab72d20761ecba6a27d321f89 (diff)
downloadrsyslog-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index 8ff66217..27fc8a41 100644
--- a/stream.c
+++ b/stream.c
@@ -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