diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-05-17 21:32:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-05-17 21:32:47 +0000 |
commit | 930db287b1d4ed0f7d5a2c8e1e4a834126aa9e57 (patch) | |
tree | 99b3f79dae9359de79f9aa1f3aee85a435c3a987 /arch/mips | |
parent | 619fbcf3064412c00cc878540d76cdf6b82e9fe7 (diff) |
Using the wrong variable considered unhealthy. Fix from Eliot
Dresselhaus from Ayrnetworks.
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 02ef1a754..9759ced3b 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c @@ -207,7 +207,7 @@ asmlinkage int sys_ptrace(long request, long pid, long addr, long data) case PTRACE_POKEUSR: { struct pt_regs *regs; - int res = 0; + res = 0; regs = (struct pt_regs *) ((unsigned long) child + KERNEL_STACK_SIZE - 32 - sizeof(struct pt_regs)); |