tree-wide: use ERRNO_IS_TRANSIENT()

This commit is contained in:
Yu Watanabe
2021-11-30 23:06:43 +09:00
parent 7aad83580f
commit 8add30a03c
26 changed files with 96 additions and 83 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ int acquire_terminal(
l = read(notify, &buffer, sizeof(buffer));
if (l < 0) {
if (IN_SET(errno, EINTR, EAGAIN))
if (ERRNO_IS_TRANSIENT(errno))
continue;
return -errno;