From 18b2097e358fbfaadc363e0d728d8fc07271c583 Mon Sep 17 00:00:00 2001 From: michux Date: Sun, 11 Jan 2009 15:54:40 +0000 Subject: plugin_fifo: fix compile warnings git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@953 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_fifo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin_fifo.c') 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; -- cgit v1.2.3