about summary refs log tree commit diff
path: root/nptl/thrd_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/thrd_create.c')
-rw-r--r--nptl/thrd_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/thrd_create.c b/nptl/thrd_create.c
index 8474e234c9..8423ffc805 100644
--- a/nptl/thrd_create.c
+++ b/nptl/thrd_create.c
@@ -21,8 +21,8 @@
 int
 thrd_create (thrd_t *thr, thrd_start_t func, void *arg)
 {
-  _Static_assert (sizeof (thr) == sizeof (pthread_t),
-		  "sizeof (thr) != sizeof (pthread_t)");
+  _Static_assert (sizeof (thrd_t) == sizeof (pthread_t),
+		  "sizeof (thrd_t) != sizeof (pthread_t)");
 
   int err_code = __pthread_create_2_1 (thr, ATTR_C11_THREAD,
 				       (void* (*) (void*))func, arg);