]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/btree.c
Remove bcopy(), bzero(), bcmp()
[mirror_zfs.git] / module / zfs / btree.c
index 5bcf621d59941913291ed71b4d2f2007f7422e20..a079929b5bc80b685f119cb34d313181dbd9cabb 100644 (file)
@@ -159,7 +159,7 @@ zfs_btree_create(zfs_btree_t *tree, int (*compar) (const void *, const void *),
         */
        ASSERT3U(size, <=, (BTREE_LEAF_SIZE - sizeof (zfs_btree_hdr_t)) / 4);
 
-       bzero(tree, sizeof (*tree));
+       memset(tree, 0, sizeof (*tree));
        tree->bt_compar = compar;
        tree->bt_elem_size = size;
        tree->bt_height = -1;