From 5d38afc8a5b4a2a6e27aad7a1840046e99cd826d Mon Sep 17 00:00:00 2001
From: Andrew Gaul <gaul@google.com>
Date: Mon, 14 Dec 2020 19:16:05 +0900
Subject: [PATCH] Correct errno comparison (#571)

---
 lib/fuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fuse.c b/lib/fuse.c
index b0f5b30..5f872fa 100755
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -4533,7 +4533,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;
-- 
2.23.0

