Remove call to bzero after MALLOC and instead add M_ZERO

to MALLOC.
This commit is contained in:
marcel 2000-12-05 06:44:22 +00:00
parent dc1f3a0dec
commit 444800469d

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;
}