aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin_fifo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin_fifo.c b/plugin_fifo.c
index 7a9553a..165cb32 100644
--- a/plugin_fifo.c
+++ b/plugin_fifo.c
@@ -110,6 +110,8 @@ static int makeFifo(void)
error("Couldn't create FIFO \"%s\": %s\n", fd.path, strerror(errno));
return -1;
}
+ /* clear errno */
+ errno = 0;
fd.created = 1;
return 0;
}
/nyancat.git/commit/debian/changelog?id=e026cc606e2ca4e76bab8a1e1f4d06ed6ef2ee3b&follow=1'>Update changelog regarding 1.1+git20130307.43097eb-1Jonathan McCrohan1-0/+11 2013-03-07Ah, right, yes.Kevin Lange1-2/+3 2013-03-07Hm, or not.Kevin Lange1-2/+0 2013-03-07Reset alarm before setting to 2secsKevin Lange1-0/+2 2013-03-07Set alarm for extended options.Kevin Lange1-2/+2