aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-11 15:54:40 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-11 15:54:40 +0000
commit18b2097e358fbfaadc363e0d728d8fc07271c583 (patch)
tree623bfcf63ce8158cb4362aabd7446967889618c0
parentd741c22fb8fa0eb0585bb03845790c80bb18c408 (diff)
downloadlcd4linux-18b2097e358fbfaadc363e0d728d8fc07271c583.tar.gz
plugin_fifo: fix compile warnings
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@953 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-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;