]> git.webhop.me Git - lcd4linux.git/commitdiff
plugin_fifo: fix compile warnings
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 11 Jan 2009 15:54:40 +0000 (15:54 +0000)
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 11 Jan 2009 15:54:40 +0000 (15:54 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@953 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_fifo.c

index ee66eb0a0357ab04d8fee2b5b3b8480daae5491a..7d3a3f58a260d1929bd642598550ed48d8c39c41 100644 (file)
@@ -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;