summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/sparc/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/sparc/machdep.c')
-rw-r--r--sys/arch/sparc/sparc/machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index f0054117fd9..ded5e96700c 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -543,6 +543,7 @@ sendsig(catcher, sig, mask, code, type, val)
*/
newsp = (int)fp - sizeof(struct rwindow);
write_user_windows();
+ /* XXX do not copyout siginfo if not needed */
if (rwindow_save(p) || copyout((caddr_t)&sf, (caddr_t)fp, sizeof sf) ||
suword(&((struct rwindow *)newsp)->rw_in[6], oldsp)) {
/*