summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2022-10-13 10:38:11 +0000
committerLuca BRUNO <luca.bruno@coreos.com>2022-10-13 10:38:11 +0000
commit1ea5e8e7d298e700d4d884a7c3fd0cd102626b6e (patch)
treedfd79f21ed81008cb834502e03ff1d2c23734dfd
parente0cc8069c90fc0e9f4c988a445ce5c98a7ae7512 (diff)
downloadostree-1ea5e8e7d298e700d4d884a7c3fd0cd102626b6e.tar.gz
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.
-rw-r--r--src/libostree/ostree-repo-checkout.c2
1 files changed, 1 insertions, 1 deletions
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",