summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/zstream/zstream_redup.c1
-rw-r--r--cmd/zstreamdump/.gitignore1
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zstream/zstream_redup.c b/cmd/zstream/zstream_redup.c
index 6720cfd12..9ed8df337 100644
--- a/cmd/zstream/zstream_redup.c
+++ b/cmd/zstream/zstream_redup.c
@@ -218,6 +218,7 @@ zfs_redup_stream(int infd, int outfd, boolean_t verbose)
rdt.ddecache = umem_cache_create("rde", sizeof (redup_entry_t), 0,
NULL, NULL, NULL, NULL, NULL, 0);
rdt.numhashbits = highbit64(numbuckets) - 1;
+ rdt.ddt_count = 0;
char *buf = safe_calloc(bufsz);
FILE *ofp = fdopen(infd, "r");
diff --git a/cmd/zstreamdump/.gitignore b/cmd/zstreamdump/.gitignore
deleted file mode 100644
index ca44a529e..000000000
--- a/cmd/zstreamdump/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-zstreamdump