aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zstream/zstream_redup.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zstream/zstream_redup.c')
-rw-r--r--cmd/zstream/zstream_redup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zstream/zstream_redup.c b/cmd/zstream/zstream_redup.c
index 9ed8df337..379025ce5 100644
--- a/cmd/zstream/zstream_redup.c
+++ b/cmd/zstream/zstream_redup.c
@@ -308,7 +308,7 @@ zfs_redup_stream(int infd, int outfd, boolean_t verbose)
* record with the found WRITE record, but with
* drr_object,drr_offset,drr_toguid replaced with ours.
*/
- uint64_t stream_offset;
+ uint64_t stream_offset = 0;
rdt_lookup(&rdt, drrwb.drr_refguid,
drrwb.drr_refobject, drrwb.drr_refoffset,
&stream_offset);