summaryrefslogtreecommitdiffstats
path: root/runtime/stream.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-19 15:21:25 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-19 15:21:25 +0200
commit4e511087c413629120315fe5dd26f966ac1ef6fb (patch)
tree7190fa0a071e9d4169c12edba5922227fdd25f25 /runtime/stream.c
parentada87cbaefecff9d32f3d008876f2eec59335ded (diff)
downloadrsyslog-4e511087c413629120315fe5dd26f966ac1ef6fb.tar.gz
rsyslog-4e511087c413629120315fe5dd26f966ac1ef6fb.tar.xz
rsyslog-4e511087c413629120315fe5dd26f966ac1ef6fb.zip
some cleanup
Diffstat (limited to 'runtime/stream.c')
-rw-r--r--runtime/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index f4dae24e..e3f020ae 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -215,7 +215,7 @@ doPhysOpen(strm_t *pThis)
}
pThis->fd = open((char*)pThis->pszCurrFName, iFlags, 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;