aboutsummaryrefslogtreecommitdiff
path: root/path-walk.c
diff options
context:
space:
mode:
Diffstat (limited to 'path-walk.c')
-rw-r--r--path-walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/path-walk.c b/path-walk.c
index 2aa3e7d8a4..6e426af433 100644
--- a/path-walk.c
+++ b/path-walk.c
@@ -174,7 +174,7 @@ static int add_tree_entries(struct path_walk_context *ctx,
if (!o) {
error(_("failed to find object %s"),
- oid_to_hex(&o->oid));
+ oid_to_hex(&entry.oid));
return -1;
}