Remove call to bzero after MALLOC and instead add M_ZERO

to MALLOC.
This commit is contained in:
Marcel Moolenaar 2000-12-05 06:44:22 +00:00
parent 05f80a57a7
commit 7ec9743293

View File

@ -123,8 +123,7 @@ get_prison(struct proc *p)
if (pr->pr_linux == NULL) {
MALLOC(lpr, struct linux_prison *, sizeof *lpr,
M_PRISON, M_WAITOK);
bzero((caddr_t)lpr, sizeof *lpr);
M_PRISON, M_WAITOK|M_ZERO);
pr->pr_linux = lpr;
}