(pthread_getattr_np): Use reported_guardsize instead of guardsize.
authordrepper <drepper>
Fri, 16 Apr 2004 23:49:09 +0000 (23:49 +0000)
committerdrepper <drepper>
Fri, 16 Apr 2004 23:49:09 +0000 (23:49 +0000)
nptl/pthread_getattr_np.c

index d0c2c8b..ba720af 100644 (file)
@@ -59,7 +59,7 @@ pthread_getattr_np (thread_id, attr)
     iattr->flags |= ATTR_FLAG_DETACHSTATE;
 
   /* This is the guardsize after adjusting it.  */
-  iattr->guardsize = thread->guardsize;
+  iattr->guardsize = thread->reported_guardsize;
 
   /* The sizes are subject to alignment.  */
   if (__builtin_expect (thread->stackblock != NULL, 1))