diff options
| author | pooka <pooka@NetBSD.org> | 2007-07-08 09:41:00 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2007-07-08 09:41:00 +0000 |
| commit | b6caa3be1b6964d223f9ab32455fe72bfbf99082 (patch) | |
| tree | aa0b8e3b456e5ba9a248356f863e9db04d8122a9 /sys/compat/linux | |
| parent | 61366a1bd894ec7099ec7631868d472f3a96a529 (diff) | |
fix pasto: sigframe.sf_sc is of type linux_sigcontext
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/arch/alpha/linux_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/arch/alpha/linux_machdep.c b/sys/compat/linux/arch/alpha/linux_machdep.c index 465c5d03a86..14489a12c6c 100644 --- a/sys/compat/linux/arch/alpha/linux_machdep.c +++ b/sys/compat/linux/arch/alpha/linux_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_machdep.c,v 1.38 2007/03/04 15:42:54 yamt Exp $ */ +/* $NetBSD: linux_machdep.c,v 1.39 2007/07/08 09:41:00 pooka Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.38 2007/03/04 15:42:54 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.39 2007/07/08 09:41:00 pooka Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -257,7 +257,7 @@ void setup_linux_sigframe(tf, sig, mask) /* * Build the signal context to be used by sigreturn. */ - memset(&sigframe.sf_sc, 0, sizeof(struct linux_ucontext)); + memset(&sigframe.sf_sc, 0, sizeof(struct linux_sigcontext)); sigframe.sf_sc.sc_onstack = onstack; native_to_linux_old_sigset(&sigframe.sf_sc.sc_mask, mask); sigframe.sf_sc.sc_pc = tf->tf_regs[FRAME_PC]; |
