diff options
Diffstat (limited to 'tools/ompipe.c')
-rw-r--r-- | tools/ompipe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/ompipe.c b/tools/ompipe.c index 5fb9b27e..1409287e 100644 --- a/tools/ompipe.c +++ b/tools/ompipe.c @@ -36,9 +36,12 @@ #include <stdio.h> #include <stdarg.h> #include <stdlib.h> +#include <unistd.h> #include <string.h> #include <assert.h> #include <errno.h> +#include <fcntl.h> +#include <unistd.h> #include <sys/file.h> #include "syslogd.h" @@ -202,7 +205,7 @@ CODESTARTparseSelectorAct if(pData->fd < 0 ) { pData->fd = -1; DBGPRINTF("Error opening log pipe: %s\n", pData->f_fname); - errmsg.LogError(0, RS_RET_NO_FILE_ACCESS, "Could no open output pipe '%s'", pData->f_fname); + errmsg.LogError(0, RS_RET_NO_FILE_ACCESS, "Could not open output pipe '%s'", pData->f_fname); } CODE_STD_FINALIZERparseSelectorAct ENDparseSelectorAct |