]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/aggsum.c
Remove bcopy(), bzero(), bcmp()
[mirror_zfs.git] / module / zfs / aggsum.c
index c4ea4f86fc5f89b88fc2ef29d7640fbd3189f2fe..488c6ef3b6fc33ee9282c5de17ae4d44715f0869 100644 (file)
@@ -87,7 +87,7 @@ static uint_t aggsum_borrow_shift = 4;
 void
 aggsum_init(aggsum_t *as, uint64_t value)
 {
-       bzero(as, sizeof (*as));
+       memset(as, 0, sizeof (*as));
        as->as_lower_bound = as->as_upper_bound = value;
        mutex_init(&as->as_lock, NULL, MUTEX_DEFAULT, NULL);
        /*