From 1ea5e8e7d298e700d4d884a7c3fd0cd102626b6e Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Thu, 13 Oct 2022 10:38:11 +0000 Subject: [PATCH] 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. --- src/libostree/ostree-repo-checkout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo-checkout.c b/src/libostree/ostree-repo-checkout.c index 7c7d0cc7..a5b01356 100644 --- a/src/libostree/ostree-repo-checkout.c +++ b/src/libostree/ostree-repo-checkout.c @@ -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",