diff options
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 9a65f10dc9ff..fd38a8f04367 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -512,7 +512,7 @@ static struct task_struct *find_new_reaper(struct task_struct *father) | |||
512 | thread = reaper; | 512 | thread = reaper; |
513 | do { | 513 | do { |
514 | if (!(thread->flags & PF_EXITING)) | 514 | if (!(thread->flags & PF_EXITING)) |
515 | return reaper; | 515 | return thread; |
516 | } while_each_thread(reaper, thread); | 516 | } while_each_thread(reaper, thread); |
517 | } | 517 | } |
518 | } | 518 | } |