make this compile again

This commit is contained in:
macallan 2007-03-04 09:35:03 +00:00
parent 9fcd02c858
commit 6bc13d5024
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_machdep.c,v 1.59 2007/03/04 06:00:46 christos Exp $ */
/* $NetBSD: svr4_machdep.c,v 1.60 2007/03/04 09:35:03 macallan Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.59 2007/03/04 06:00:46 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.60 2007/03/04 09:35:03 macallan Exp $");
#if defined(_KERNEL_OPT)
#include "opt_kgdb.h"
@ -466,7 +466,7 @@ svr4_sendsig(const ksiginfo_t *ksi, const sigset_t *mask)
* Allocate space for the signal handler context.
*/
if (onstack)
fp = (struct svr4_sigframe *)((void *)l->l_sigstk.ss_sp +
fp = (struct svr4_sigframe *)((char *)l->l_sigstk.ss_sp +
l->l_sigstk.ss_size);
else
fp = (struct svr4_sigframe *)oldsp;