From 57842c97d3e7cf35e68973f3740a71b622383802 Mon Sep 17 00:00:00 2001 From: ssouhlal Date: Sat, 19 Aug 2006 11:54:19 +0000 Subject: MALLOC -> malloc and FREE -> free Submitted by: rdivacky Pointed out by: jhb --- sys/compat/linux/linux_emul.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/compat/linux/linux_emul.c') diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index eb4abfc..2fbc79b 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -82,14 +82,14 @@ linux_proc_init(struct thread *td, pid_t child, int flags) if (child != 0) { /* non-exec call */ - MALLOC(em, struct linux_emuldata *, sizeof *em, M_LINUX, M_WAITOK | M_ZERO); + em = malloc(sizeof *em, M_LINUX, M_WAITOK | M_ZERO); em->pid = child; if (flags & CLONE_VM) { /* handled later in the code */ } else { struct linux_emuldata_shared *s; - MALLOC(s, struct linux_emuldata_shared *, sizeof *s, M_LINUX, M_WAITOK | M_ZERO); + s = malloc(sizeof *s, M_LINUX, M_WAITOK | M_ZERO); em->shared = s; s->refs = 1; s->group_pid = child; @@ -172,7 +172,7 @@ linux_proc_exit(void *arg __unused, struct proc *p) em->shared->refs--; if (em->shared->refs == 0) - FREE(em->shared, M_LINUX); + free(em->shared, M_LINUX); EMUL_SHARED_WUNLOCK(&emul_shared_lock); if (child_clear_tid != NULL) { @@ -200,7 +200,7 @@ linux_proc_exit(void *arg __unused, struct proc *p) } /* clean the stuff up */ - FREE(em, M_LINUX); + free(em, M_LINUX); } /* -- cgit v1.1