summaryrefslogtreecommitdiffstats
path: root/plugins/omprog
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-15 18:15:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-15 18:15:47 +0200
commite858af4fb02e9e38bc07ee64c64d15303fc8a89d (patch)
tree1f06bfa5632c5a9814834b52c8bc5da8cb1f8b1a /plugins/omprog
parentb00e7946e8dec90270f35c1060ac6d0abfe9df3e (diff)
downloadrsyslog-e858af4fb02e9e38bc07ee64c64d15303fc8a89d.tar.gz
rsyslog-e858af4fb02e9e38bc07ee64c64d15303fc8a89d.tar.xz
rsyslog-e858af4fb02e9e38bc07ee64c64d15303fc8a89d.zip
minor cleanup (cosmetic)
Diffstat (limited to 'plugins/omprog')
-rw-r--r--plugins/omprog/omprog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/omprog/omprog.c b/plugins/omprog/omprog.c
index 01fa7cea..2687e7a3 100644
--- a/plugins/omprog/omprog.c
+++ b/plugins/omprog/omprog.c
@@ -169,7 +169,7 @@ openPipe(instanceData *pData)
/*NO CODE HERE - WILL NEVER BE REACHED!*/
}
- DBGPRINTF("child has pid %d\n", cpid);
+ DBGPRINTF("child has pid %d\n", (int) cpid);
pData->fdPipe = pipefd[1];
pData->pid = cpid;
close(pipefd[0]);
@@ -191,7 +191,6 @@ cleanup(instanceData *pData)
assert(pData != NULL);
assert(pData->bIsRunning == 1);
-RUNLOG_VAR("%d", pData->pid);
ret = waitpid(pData->pid, &status, 0);
if(ret != pData->pid) {
/* if waitpid() fails, we can not do much - try to ignore it... */