aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-11-22 23:34:20 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-11-22 23:34:20 +0000
commit98870dbee74445b3d7de7468fccdb3ef4d6d2ff2 (patch)
tree7aa84f0ac769b6bc60c5ab0cabdd22e04d1a17c9
parent3654ca81e0aa3116c24d849336560cc96ff73f11 (diff)
downloadlcd4linux-98870dbee74445b3d7de7468fccdb3ef4d6d2ff2.tar.gz
update fifo plugin - untested
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@900 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--plugin_fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_fifo.c b/plugin_fifo.c
index 714066d..f8be4c8 100644
--- a/plugin_fifo.c
+++ b/plugin_fifo.c
@@ -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) {