diff --git a/sys/arch/arm/arm/process_machdep.c b/sys/arch/arm/arm/process_machdep.c index 551da87f053a..c0e8e5d25608 100644 --- a/sys/arch/arm/arm/process_machdep.c +++ b/sys/arch/arm/arm/process_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: process_machdep.c,v 1.14 2005/06/01 13:01:35 scw Exp $ */ +/* $NetBSD: process_machdep.c,v 1.15 2005/06/02 20:27:30 uwe Exp $ */ /* * Copyright (c) 1993 The Regents of the University of California. @@ -133,7 +133,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.14 2005/06/01 13:01:35 scw Exp $"); +__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.15 2005/06/02 20:27:30 uwe Exp $"); #include #include @@ -201,7 +201,7 @@ process_write_regs(struct lwp *l, const struct reg *regs) struct trapframe *tf = process_frame(l); KASSERT(tf != NULL); - bcopy((caddr_t)regs->r, (caddr_t)&tf->tf_r0, sizeof(regs->r)); + bcopy(regs->r, &tf->tf_r0, sizeof(regs->r)); tf->tf_usr_sp = regs->r_sp; tf->tf_usr_lr = regs->r_lr; #ifdef __PROG32