summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2021-04-08 01:40:44 +0200
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2021-04-08 01:40:44 +0200
commitfe09dabc0d7684075bd06b50132250ce7dfa1bb0 (patch)
tree6ebf32ba487088672f77cd967a84f4ad234b8b92
parent2e275f9b117fdf3b36cfc6955f055f0620f47ee4 (diff)
Fix "changing owner" message to show owner instead of group.HEADmaster
-rw-r--r--src/metastore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metastore.c b/src/metastore.c
index d85f0bc..c6f48cf 100644
--- a/src/metastore.c
+++ b/src/metastore.c
@@ -185,7 +185,7 @@ compare_fix(struct metaentry *real, struct metaentry *stored, int cmp)
while (cmp & (DIFF_OWNER | DIFF_GROUP)) {
if (cmp & DIFF_OWNER) {
msg(MSG_NORMAL, "%s:\tchanging owner from %s to %s\n",
- real->path, real->group, stored->group);
+ real->path, real->owner, stored->owner);
owner = xgetpwnam(stored->owner);
if (!owner) {
msg(MSG_DEBUG, "\tgetpwnam failed: %s\n",