summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_mib.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2000-12-05 06:44:22 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2000-12-05 06:44:22 +0000
commit7ec9743293aa46dce56521bfc0638ee61d7d5b52 (patch)
tree923b1f709736dd3914e52045def5f7da44fd93a7 /sys/compat/linux/linux_mib.c
parent05f80a57a79f35c74bf36273211d20974e610ad3 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_mib.c')
-rw-r--r--sys/compat/linux/linux_mib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c
index f7d504788b1d..6d60a8c8f975 100644
--- a/sys/compat/linux/linux_mib.c
+++ b/sys/compat/linux/linux_mib.c
@@ -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;
}