lkml.org 
[lkml]   [2004]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] v850: Fix misnamed variable in ptrace.c
FromMiles Bader <>
DateFri, 29 Oct 2004 17:15:48 +0900 (JST)
Signed-off-by: Miles Bader <miles@gnu.org>

 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 <miles@gnu.org>
+ *  Copyright (C) 2002,03,04  NEC Electronics Corporation
+ *  Copyright (C) 2002,03,04  Miles Bader <miles@gnu.org>
  *
  * 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) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [from the cache]
©2003-2008