aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin_fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin_fifo.c b/plugin_fifo.c
index ee66eb0..7d3a3f5 100644
--- a/plugin_fifo.c
+++ b/plugin_fifo.c
@@ -101,7 +101,7 @@ static void closeFifo()
fd.input = -1;
}
if (fd.created && (stat(fd.path, &st) == 0))
- removeFifo(fd);
+ removeFifo();
}
static int makeFifo()
@@ -122,7 +122,7 @@ static int checkFifo()
if (errno == ENOENT) {
/* Path doesn't exist */
- return makeFifo(fd);
+ return makeFifo();
}
error("Failed to stat FIFO \"%s\": %s\n", fd.path, strerror(errno));
return -1;