tree-wide: fix bad errno checks

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-05-20 18:10:58 +02:00
parent a0fa268337
commit 6b8664cb5b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ int read_full_virtual_file(const char *filename, char **ret_contents, size_t *re
break;
}
if (errno != -EINTR)
if (errno != EINTR)
return -errno;
}