From 9008d8ec28fc34ead99061698b0491f47c624cb9 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 24 Nov 2000 00:22:55 +0000 Subject: One character fix to get it to compile again. --- arch/mips/kernel/ptrace.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'arch/mips/kernel/ptrace.c') diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index fcebe3fe2..1aabad599 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c @@ -279,14 +279,13 @@ asmlinkage int sys_ptrace(long request, long pid, long addr, long data) res = 0; break; - case PTRACE_SETOPTIONS: { + case PTRACE_SETOPTIONS: if (data & PTRACE_O_TRACESYSGOOD) child->ptrace |= PT_TRACESYSGOOD; else child->ptrace &= ~PT_TRACESYSGOOD; - ret = 0; + res = 0; break; - } default: res = -EIO; -- cgit v1.2.3