tree-wide: Add error prefixing for most remaining syscalls

There were some important ones there like a random `syncfs()`. The remaining
users are mostly blocked on the "fstatat enoent" case, I'll wait to port those.

Closes: #1150
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-09-07 22:31:16 +00:00
1 parent 7afa966198
commit c7d0be4fba
5 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -521,7 +521,7 @@ ostree_sepolicy_get_label (OstreeSePolicy *self,
if (errno == ENOENT)
*out_label = NULL;
else
return glnx_throw_errno (error);
return glnx_throw_errno_prefix (error, "selabel_lookup");
}
else
{