lib/repo-checkout: fix typo in error message

This fixes a typo in an error message, resulting in a GID vs UID
mixup. It was detected by RH internal static checks.
This commit is contained in:
Luca BRUNO committed 2022-10-13 10:38:11 +00:00
1 parent e0cc8069c9
commit 1ea5e8e7d2
1 file changed
+1 -1
+1 -1
View File
@@ -684,7 +684,7 @@ _checkout_overlayfs_whiteout_at (OstreeRepo *repo,
if (uid != dest_stbuf.st_uid)
return glnx_throw(error, "existing destination file %s does not match uid %d",
destination_name, gid);
destination_name, uid);
if ((file_mode & ALLPERMS) != (dest_stbuf.st_mode & ALLPERMS))
return glnx_throw(error, "existing destination file %s does not match mode %o",