summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2003-09-21 19:29:10 +0000
committerjdolecek <jdolecek@NetBSD.org>2003-09-21 19:29:10 +0000
commitbc83b2f421b01e7c461760bbd80cba7fbe31e2fb (patch)
treeb512e5cd13cd2dcc4f7ae587d86482744693a41b /sys/compat/linux
parent21809f0c305291ddab2aa7bf4599e7c49a709769 (diff)
make compile after last change (!)
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/i386/linux_machdep.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/compat/linux/arch/i386/linux_machdep.c b/sys/compat/linux/arch/i386/linux_machdep.c
index 4592ecb5594..1648693d464 100644
--- a/sys/compat/linux/arch/i386/linux_machdep.c
+++ b/sys/compat/linux/arch/i386/linux_machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.97 2003/09/21 17:42:23 christos Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.98 2003/09/21 19:29:10 jdolecek Exp $ */
/*-
* Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.97 2003/09/21 17:42:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.98 2003/09/21 19:29:10 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vm86.h"
@@ -77,6 +77,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.97 2003/09/21 17:42:23 christos
#include <compat/linux/common/linux_hdio.h>
#include <compat/linux/common/linux_exec.h>
#include <compat/linux/common/linux_machdep.h>
+#include <compat/linux/common/linux_errno.h>
#include <compat/linux/linux_syscallargs.h>
@@ -274,6 +275,7 @@ linux_rt_sendsig(ksiginfo_t *ksi, sigset_t *mask)
struct linux_rt_sigframe *fp, frame;
int onstack;
linux_siginfo_t *lsi;
+ int sig = ksi->ksi_signo;
sig_t catcher = SIGACTION(p, sig).sa_handler;
struct sigaltstack *sas = &p->p_sigctx.ps_sigstk;
@@ -331,7 +333,7 @@ linux_rt_sendsig(ksiginfo_t *ksi, sigset_t *mask)
lsi->lsi_pid = ksi->ksi_pid;
if (lsi->lsi_signo == LINUX_SIGALRM ||
lsi->lsi_signo >= LINUX_SIGRTMIN)
- lsi->lsi_sigval.sival_ptr = ksi->ksi_sigval.sival_ptr;
+ lsi->lsi_value.sival_ptr = ksi->ksi_sigval.sival_ptr;
break;
}