native_sigset13_to_sigset()'s first argument is a sigset13_t *.
This commit is contained in:
parent
6f4493cd5c
commit
aa75540c7c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: netbsd32_machdep.c,v 1.59 2006/03/29 23:07:49 cube Exp $ */
|
||||
/* $NetBSD: netbsd32_machdep.c,v 1.60 2006/05/11 17:15:54 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2001 Matthew R. Green
|
||||
@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.59 2006/03/29 23:07:49 cube Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.60 2006/05/11 17:15:54 mrg Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_compat_netbsd.h"
|
||||
@ -523,7 +523,7 @@ compat_13_netbsd32_sigreturn(l, v, retval)
|
||||
p->p_sigctx.ps_sigstk.ss_flags &= ~SS_ONSTACK;
|
||||
|
||||
/* Restore signal mask */
|
||||
native_sigset13_to_sigset(&scp->sc_mask, &mask);
|
||||
native_sigset13_to_sigset((sigset13_t *)&scp->sc_mask, &mask);
|
||||
(void) sigprocmask1(p, SIG_SETMASK, &mask, 0);
|
||||
|
||||
return (EJUSTRETURN);
|
||||
|
Loading…
Reference in New Issue
Block a user