]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/os/freebsd/spl/sys/callb.h
Remove bcopy(), bzero(), bcmp()
[mirror_zfs.git] / include / os / freebsd / spl / sys / callb.h
index cc67b0263c51bff15f95b2079605f8554ddf798e..d51132d4e6129156020e5cb223be1a877b55885d 100644 (file)
@@ -132,7 +132,7 @@ typedef struct callb_cpr {
 #define        CALLB_CPR_INIT(cp, lockp, func, name)   {                       \
                strlcpy(curthread->td_name, (name),                     \
                    sizeof (curthread->td_name));                       \
-               bzero((caddr_t)(cp), sizeof (callb_cpr_t));             \
+               memset(cp, 0, sizeof (callb_cpr_t));            \
                (cp)->cc_lockp = lockp;                                 \
                (cp)->cc_id = callb_add(func, (void *)(cp),             \
                        CB_CL_CPR_DAEMON, name);                        \