diff options
Diffstat (limited to 'pack-check.c')
-rw-r--r-- | pack-check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-check.c b/pack-check.c index d8d8f91de6..bfb593ba72 100644 --- a/pack-check.c +++ b/pack-check.c @@ -143,7 +143,7 @@ static int verify_packfile(struct repository *r, oid_to_hex(&oid), p->pack_name, (uintmax_t)entries[i].offset); else if (data && check_object_signature(r, &oid, data, size, - type_name(type)) < 0) + type) < 0) err = error("packed %s from %s is corrupt", oid_to_hex(&oid), p->pack_name); else if (!data && stream_object_signature(r, &oid) < 0) |