mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 18:59:37 +00:00
Fix type of sf_addr.
Pointed out by: bde
This commit is contained in:
parent
777b4568dd
commit
ec1d9fe8ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54120
@ -533,7 +533,7 @@ osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_arg2 = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
@ -686,7 +686,7 @@ sendsig(catcher, sig, mask, code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_siginfo = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ struct osigframe {
|
||||
/* Points to sf_siginfo.si_sc. */
|
||||
register_t sf_scp;
|
||||
|
||||
register_t *sf_addr;
|
||||
register_t sf_addr;
|
||||
|
||||
/*
|
||||
* The following arguments are not constrained by the
|
||||
@ -81,7 +81,7 @@ struct sigframe {
|
||||
register_t sf_signum;
|
||||
register_t sf_siginfo; /* code or pointer to sf_si */
|
||||
register_t sf_ucontext; /* points to sf_uc */
|
||||
register_t *sf_addr; /* undocumented 4th arg */
|
||||
register_t sf_addr; /* undocumented 4th arg */
|
||||
|
||||
union {
|
||||
__siginfohandler_t *sf_action;
|
||||
|
@ -533,7 +533,7 @@ osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_arg2 = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
@ -686,7 +686,7 @@ sendsig(catcher, sig, mask, code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_siginfo = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ struct osigframe {
|
||||
/* Points to sf_siginfo.si_sc. */
|
||||
register_t sf_scp;
|
||||
|
||||
register_t *sf_addr;
|
||||
register_t sf_addr;
|
||||
|
||||
/*
|
||||
* The following arguments are not constrained by the
|
||||
@ -81,7 +81,7 @@ struct sigframe {
|
||||
register_t sf_signum;
|
||||
register_t sf_siginfo; /* code or pointer to sf_si */
|
||||
register_t sf_ucontext; /* points to sf_uc */
|
||||
register_t *sf_addr; /* undocumented 4th arg */
|
||||
register_t sf_addr; /* undocumented 4th arg */
|
||||
|
||||
union {
|
||||
__siginfohandler_t *sf_action;
|
||||
|
Loading…
Reference in New Issue
Block a user