summaryrefslogtreecommitdiff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-10-02 08:52:55 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-10-02 08:52:55 +0530
commitadcdc775e11f6fc788448b9e2b0b4ef08579e463 (patch)
treec3ca6b14d1c961936629d269e2af2eea66acd3bb /nptl/pthread_create.c
parent51367701af87ea6f1154fb4ddab27e7f4560ee6c (diff)
Fix clone flag name in comment to CLONE_CHILD_CLEARTID.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 97d83256a4..6ba9c6fe11 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -420,7 +420,7 @@ start_thread (void *arg)
/* We cannot call '_exit' here. '_exit' will terminate the process.
The 'exit' implementation in the kernel will signal when the
- process is really dead since 'clone' got passed the CLONE_CLEARTID
+ process is really dead since 'clone' got passed the CLONE_CHILD_CLEARTID
flag. The 'tid' field in the TCB will be set to zero.
The exit code is zero since in case all threads exit by calling