diff options
Diffstat (limited to 'sys/compat/linux32/common/linux32_exec.c')
| -rw-r--r-- | sys/compat/linux32/common/linux32_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux32/common/linux32_exec.c b/sys/compat/linux32/common/linux32_exec.c index 7c623a60727..b11264fffc0 100644 --- a/sys/compat/linux32/common/linux32_exec.c +++ b/sys/compat/linux32/common/linux32_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_exec.c,v 1.5 2007/02/15 15:29:51 ad Exp $ */ +/* $NetBSD: linux32_exec.c,v 1.6 2007/03/05 14:13:10 christos Exp $ */ /*- * Copyright (c) 1994-2007 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.5 2007/02/15 15:29:51 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.6 2007/03/05 14:13:10 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -175,7 +175,7 @@ linux32_e_proc_init(p, parent, forkflags) * use our own vmspace. */ vm = (parent) ? parent->p_vmspace : p->p_vmspace; - s->p_break = vm->vm_daddr + ctob(vm->vm_dsize); + s->p_break = (char *)vm->vm_daddr + ctob(vm->vm_dsize); /* * Linux threads are emulated as NetBSD processes (not lwp) |
