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:
1 parent
7afa966198
commit
c7d0be4fba
5 files changed
+16
-16
No files matched your search
@@ -171,8 +171,8 @@ copy_dir_recurse (int src_parent_dfd,
|
||||
return FALSE;
|
||||
|
||||
/* Create with mode 0700, we'll fchmod/fchown later */
|
||||
if (mkdirat (dest_parent_dfd, name, 0700) != 0)
|
||||
return glnx_throw_errno (error);
|
||||
if (!glnx_ensure_dir (dest_parent_dfd, name, 0700, error))
|
||||
return FALSE;
|
||||
|
||||
if (!glnx_opendirat (dest_parent_dfd, name, TRUE, &dest_dfd, error))
|
||||
return FALSE;
|
||||
|
||||
Reference in new issue
Block a user