summaryrefslogtreecommitdiff
path: root/fsck-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fsck-cache.c')
-rw-r--r--fsck-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c
index 7dda9c3eb7..637aededbd 100644
--- a/fsck-cache.c
+++ b/fsck-cache.c
@@ -34,7 +34,7 @@ static void check_connectivity(void)
printf("broken link from %7s %s\n",
obj->type, sha1_to_hex(obj->sha1));
printf(" to %7s %s\n",
- obj->type, sha1_to_hex(refs->item->sha1));
+ refs->item->type, sha1_to_hex(refs->item->sha1));
}
/* Don't bother with tag reachability. */