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 2022-10-13 10:38:11 +00:00
parent e0cc8069c9
commit 1ea5e8e7d2
No known key found for this signature in database
GPG Key ID: A9834A2252078E4E
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ _checkout_overlayfs_whiteout_at (OstreeRepo *repo,
if (uid != dest_stbuf.st_uid) if (uid != dest_stbuf.st_uid)
return glnx_throw(error, "existing destination file %s does not match uid %d", 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)) if ((file_mode & ALLPERMS) != (dest_stbuf.st_mode & ALLPERMS))
return glnx_throw(error, "existing destination file %s does not match mode %o", return glnx_throw(error, "existing destination file %s does not match mode %o",