diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 95fcf47b72..685d4bfe86 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -2197,6 +2197,7 @@ dump_block_stats(spa_t *spa) * it's not part of any space map) is a double allocation, * reference to a freed block, or an unclaimed log block. */ + bzero(&zcb, sizeof(zdb_cb_t)); zdb_leak_init(spa, &zcb); /*