aboutsummaryrefslogtreecommitdiffstats
path: root/packfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'packfile.c')
-rw-r--r--packfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c
index 6657a0a499..0532a371b2 100644
--- a/packfile.c
+++ b/packfile.c
@@ -1357,7 +1357,7 @@ int packed_object_info(struct packed_git *p, off_t obj_offset,
if (oi->typep)
*oi->typep = ptot;
if (oi->type_name) {
- const char *tn = typename(ptot);
+ const char *tn = type_name(ptot);
if (tn)
strbuf_addstr(oi->type_name, tn);
}