summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaul <gaul@google.com>2020-12-14 19:16:05 +0900
committerGitHub <noreply@github.com>2020-12-14 10:16:05 +0000
commit5d38afc8a5b4a2a6e27aad7a1840046e99cd826d (patch)
treeb30b6ed887e72a8162df074d5b0b3961ab1a7d7d
parent6d55007027dfe7b75a74899f497f075046cc5404 (diff)
downloadfuse-5d38afc8a5b4a2a6e27aad7a1840046e99cd826d.tar.gz
Correct errno comparison (#571)
-rw-r--r--lib/fuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index d1d873a..1ee0ef4 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -4350,7 +4350,7 @@ static int fuse_session_loop_remember(struct fuse *f)
res = poll(&fds, 1, timeout * 1000);
if (res == -1) {
- if (errno == -EINTR)
+ if (errno == EINTR)
continue;
else
break;