glnx porting: Drop last uses of gs_file_get_basename_cached()

I apparently missed a few uses in the previous porting.

Closes: #319
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2016-06-09 14:39:09 +00:00
1 parent b5da2f524c
commit a79c47415a
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -756,12 +756,12 @@ selinux_relabel_file (OstreeSysroot *sysroot,
goto out;
g_ptr_array_add (path_parts, (char*)prefix);
g_ptr_array_add (path_parts, (char*)gs_file_get_basename_cached (path));
g_ptr_array_add (path_parts, (char*)g_file_info_get_name (file_info));
if (!relabel_one_path (sysroot, sepolicy, path, file_info, path_parts,
cancellable, error))
{
g_prefix_error (error, "Relabeling /%s/%s: ", prefix,
gs_file_get_basename_cached (path));
g_file_info_get_name (file_info));
goto out;
}