Skip to content

Commit

Permalink
Fixed bug in sigreturn()
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Koulik authored and Sebastien Bourdeauducq committed Mar 16, 2012
1 parent c03a5b5 commit dddb9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/lm32/kernel/signal.c
Expand Up @@ -76,7 +76,7 @@ static int restore_sigcontext(struct pt_regs *regs,

asmlinkage int _sys_rt_sigreturn(struct pt_regs *regs)
{
struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->sp + 4;
struct rt_sigframe __user *frame = (struct rt_sigframe __user *)(regs->sp + 4);
sigset_t set;
stack_t st;

Expand Down

0 comments on commit dddb9d3

Please sign in to comment.