Skip to contentSkip to conversation

v850: Fix misnamed variable in ptrace.c

PATCH New Miles Bader 1 participant 1 message Oct 29, 2004 ptrace support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v850: Fix misnamed variable in ptrace.c

 arch/v850/kernel/ptrace.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
arch/v850/kernel/ptrace.c +4 -4
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
@@ -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) {