Skip to content

Commit

Permalink
Merge branch 'arch-tile' into no-rebases
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Viro committed Nov 29, 2012
2 parents 1e93f66 + e3cb7e9 commit a2b6dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/tile/kernel/compat_signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ long compat_sys_rt_sigreturn(void)
if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
goto badframe;

if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) != 0)
if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) == -EFAULT)
goto badframe;

return 0;
Expand Down

0 comments on commit a2b6dfa

Please sign in to comment.