update fifo plugin - untested

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@900 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michux
2008-11-22 23:34:20 +00:00
parent 3654ca81e0
commit 98870dbee7

View File

@@ -164,7 +164,7 @@ static void fiforead(RESULT * result)
bytes = read(fd.input, buf, FIFO_BUFFER_SIZE);
}
if (bytes < 0 || errno > 0) {
if (bytes < 0 || (errno > 0 && errno != EAGAIN)) {
error("[FIFO] Error %i: %s", errno, strerror(errno));
} else {
if (strlen(buf) > 0) {