]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack-check.c
object: rename function 'typename' to 'type_name'
[thirdparty/git.git] / pack-check.c
index 073c1fbd46dfeeb215c209aa0659768e72b81c3b..bd348592f643c6ee8919febb86ca0ac913a5c5f5 100644 (file)
@@ -141,7 +141,7 @@ static int verify_packfile(struct packed_git *p,
                        err = error("cannot unpack %s from %s at offset %"PRIuMAX"",
                                    oid_to_hex(entries[i].oid.oid), p->pack_name,
                                    (uintmax_t)entries[i].offset);
-               else if (check_sha1_signature(entries[i].oid.hash, data, size, typename(type)))
+               else if (check_sha1_signature(entries[i].oid.hash, data, size, type_name(type)))
                        err = error("packed %s from %s is corrupt",
                                    oid_to_hex(entries[i].oid.oid), p->pack_name);
                else if (fn) {