about summary refs log tree commit diff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 57cb2717ec..94d05b2721 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -145,7 +145,7 @@ get_cached_stack (size_t *sizep, void **memp)
   /* Release the lock early.  */
   lll_unlock (stack_cache_lock);
 
-
+  /* Report size and location of the stack to the caller.  */
   *sizep = result->stackblock_size;
   *memp = result->stackblock;
 
@@ -462,7 +462,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
   *pdp = pd;
 
 #if TLS_TCB_AT_TP
-  /* The stack begin before the TCB and the static TLS block.  */
+  /* The stack begins before the TCB and the static TLS block.  */
   *stack = ((char *) (pd + 1) - __static_tls_size);
 #else
 # error "Implement me"