Skip to content
Snippets Groups Projects
Commit 23f7df15 authored by Colin Walters's avatar Colin Walters
Browse files

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.
parent 607f1775
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment