2004-10-29 08:18:09

by Miles Bader

[permalink] [raw]
Subject: [PATCH] v850: Fix misnamed variable in ptrace.c

Signed-off-by: Miles Bader <[email protected]>

arch/v850/kernel/ptrace.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff -ruN -X../cludes linux-2.6.9-uc0/arch/v850/kernel/ptrace.c linux-2.6.9-uc0-v850-20041028/arch/v850/kernel/ptrace.c
--- linux-2.6.9-uc0/arch/v850/kernel/ptrace.c 2004-10-25 15:14:32 +0900
+++ linux-2.6.9-uc0-v850-20041028/arch/v850/kernel/ptrace.c 2004-10-28 13:32:47 +0900
@@ -1,8 +1,8 @@
/*
* arch/v850/kernel/ptrace.c -- `ptrace' system call
*
- * Copyright (C) 2002,03 NEC Electronics Corporation
- * Copyright (C) 2002,03 Miles Bader <[email protected]>
+ * Copyright (C) 2002,03,04 NEC Electronics Corporation
+ * Copyright (C) 2002,03,04 Miles Bader <[email protected]>
*
* Derived from arch/mips/kernel/ptrace.c:
*
@@ -147,8 +147,8 @@
rval = ptrace_attach(child);
goto out_tsk;
}
- ret = ptrace_check_attach(child, request == PTRACE_KILL);
- if (ret < 0)
+ rval = ptrace_check_attach(child, request == PTRACE_KILL);
+ if (rval < 0)
goto out_tsk;

switch (request) {