aboutsummaryrefslogtreecommitdiff
path: root/module/zcommon/zfs_fletcher_superscalar4.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zcommon/zfs_fletcher_superscalar4.c')
-rw-r--r--module/zcommon/zfs_fletcher_superscalar4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zcommon/zfs_fletcher_superscalar4.c b/module/zcommon/zfs_fletcher_superscalar4.c
index 2dbf8bbb8146..9e69dc30eb0e 100644
--- a/module/zcommon/zfs_fletcher_superscalar4.c
+++ b/module/zcommon/zfs_fletcher_superscalar4.c
@@ -51,7 +51,7 @@ ZFS_NO_SANITIZE_UNDEFINED
static void
fletcher_4_superscalar4_init(fletcher_4_ctx_t *ctx)
{
- bzero(ctx->superscalar, 4 * sizeof (zfs_fletcher_superscalar_t));
+ memset(ctx->superscalar, 0, 4 * sizeof (zfs_fletcher_superscalar_t));
}
ZFS_NO_SANITIZE_UNDEFINED