From 945180a24bf4e2332259d42d06d77c799747cb12 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 25 Apr 2024 16:24:40 -0400 Subject: xexamine: fix crc32. --- xexamine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xexamine.c b/xexamine.c index 94374b3..fc600f1 100644 --- a/xexamine.c +++ b/xexamine.c @@ -356,6 +356,7 @@ int main(int argc, char **argv) { printf("Seg | Start | End | Bytes | CRC32 | Type\n"); header_printed++; } + crc = 0; crc32(seg.object, seg.len, &crc); printf("%3d | $%04x | $%04x | %5d | %08x | ", segcount, seg.start_addr, seg.end_addr, seg.len, crc); -- cgit v1.2.3