summaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/kernel/traps.c')
-rw-r--r--arch/nios2/kernel/traps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/kernel/traps.c b/arch/nios2/kernel/traps.c
index 8184e7d6b385..a69861d3e1a3 100644
--- a/arch/nios2/kernel/traps.c
+++ b/arch/nios2/kernel/traps.c
@@ -28,6 +28,7 @@ static void _send_sig(int signo, int code, unsigned long addr)
{
siginfo_t info;
+ clear_siginfo(&info);
info.si_signo = signo;
info.si_errno = 0;
info.si_code = code;