summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Crawford <[email protected]>2017-02-24 14:29:47 -0500
committerBrian Behlendorf <[email protected]>2017-02-24 11:29:47 -0800
commit384328e544b1847236a07df231e1b7b10e4cc6ce (patch)
treed9407365687ed5d5a81f1953e76f5c1cf967cb21
parent3ae35478d75c3a94d3b23e2dd5e826a5ed9b6057 (diff)
Fix checksumflags assignment in cksummer
drr_checksumflags was incorrectly set to drr_checksumtype. Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Tim Crawford <[email protected]> Closes #5830
-rw-r--r--lib/libzfs/libzfs_sendrecv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c
index e703fd254..709ca5997 100644
--- a/lib/libzfs/libzfs_sendrecv.c
+++ b/lib/libzfs/libzfs_sendrecv.c
@@ -426,7 +426,7 @@ cksummer(void *arg)
wbr_drrr->drr_checksumtype =
drrw->drr_checksumtype;
wbr_drrr->drr_checksumflags =
- drrw->drr_checksumtype;
+ drrw->drr_checksumflags;
wbr_drrr->drr_key.ddk_cksum =
drrw->drr_key.ddk_cksum;
wbr_drrr->drr_key.ddk_prop =