aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 1599157336a6..612a56126851 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -139,7 +139,7 @@ void __ptrace_unlink(struct task_struct *child)
139 * RETURNS: 139 * RETURNS:
140 * 0 on success, -ESRCH if %child is not ready. 140 * 0 on success, -ESRCH if %child is not ready.
141 */ 141 */
142int ptrace_check_attach(struct task_struct *child, bool ignore_state) 142static int ptrace_check_attach(struct task_struct *child, bool ignore_state)
143{ 143{
144 int ret = -ESRCH; 144 int ret = -ESRCH;
145 145