summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-11-24 00:22:55 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-11-24 00:22:55 +0000
commit9008d8ec28fc34ead99061698b0491f47c624cb9 (patch)
treeb752a1d2d784330fe440dccf59f8479e90d10b47
parent2c1d318af4d4421a5b75c04154c9e1dd90764d64 (diff)
One character fix to get it to compile again.
-rw-r--r--arch/mips/kernel/ptrace.c5
1 files changed, 2 insertions, 3 deletions
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;