mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-28 03:45:10 -04:00
dirfd: Add filename to glnx_opendirat()
This showed up in https://github.com/projectatomic/rpm-ostree/issues/883 We'll have to audit callers to be sure to avoid double-prefixing.
This commit is contained in:
@@ -67,9 +67,7 @@ glnx_opendirat (int dfd,
|
||||
{
|
||||
int ret = glnx_opendirat_with_errno (dfd, path, follow);
|
||||
if (ret == -1)
|
||||
{
|
||||
return glnx_throw_errno_prefix (error, "openat");
|
||||
}
|
||||
return glnx_throw_errno_prefix (error, "opendir(%s)", path);
|
||||
*out_fd = ret;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user