diff --git a/cmd/zstreamdump/zstreamdump.c b/cmd/zstreamdump/zstreamdump.c index e0bc34542b77..aa594b8b3742 100644 --- a/cmd/zstreamdump/zstreamdump.c +++ b/cmd/zstreamdump/zstreamdump.c @@ -265,6 +265,7 @@ main(int argc, char *argv[]) exit(1); } + fletcher_4_init(); send_stream = stdin; while (read_hdr(drr, &zc)) { @@ -618,6 +619,7 @@ main(int argc, char *argv[]) pcksum = zc; } free(buf); + fletcher_4_fini(); /* Print final summary */