summaryrefslogtreecommitdiffstats
path: root/runtime/stream.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-09-15 15:17:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-09-15 15:17:47 +0200
commit1d0e4ba3b34464343c388ccef3ca8b08df42076a (patch)
treed17f746f7c8cb2f00aa3ab956740fd616e2390c0 /runtime/stream.c
parentb7e69a240037277e77685af5ea5623cdd89ec2d2 (diff)
parent11ee5cbdfb08ba3e42a853c08144fa24cd55d6da (diff)
downloadrsyslog-1d0e4ba3b34464343c388ccef3ca8b08df42076a.tar.gz
rsyslog-1d0e4ba3b34464343c388ccef3ca8b08df42076a.tar.bz2
rsyslog-1d0e4ba3b34464343c388ccef3ca8b08df42076a.zip
Merge branch 'v4-stable' of git+ssh://git.adiscon.com/git/rsyslog into v4-stable
Diffstat (limited to 'runtime/stream.c')
-rw-r--r--runtime/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index a12dda41..44b24ee2 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -222,7 +222,8 @@ doPhysOpen(strm_t *pThis)
}
pThis->fd = open((char*)pThis->pszCurrFName, iFlags | O_LARGEFILE, pThis->tOpenMode);
- DBGPRINTF("file '%s' opened as #%d with mode %d\n", pThis->pszCurrFName, pThis->fd, pThis->tOpenMode);
+ DBGPRINTF("file '%s' opened as #%d with mode %d\n", pThis->pszCurrFName,
+ pThis->fd, (int) pThis->tOpenMode);
if(pThis->fd == -1) {
char errStr[1024];
int err = errno;