nptl: Fix __PTHREAD_MUTEX_INITIALIZER for !__PTHREAD_MUTEX_HAVE_PREV

The nptl: Add struct_mutex.h added a wrong initializer for
architectures that uses the generic struct_mutex.h.

Checked on sparcv9-linux-gnu (where I noted the issue with the
nptl/tst-initializers1*).
This commit is contained in:
Adhemerval Zanella 2019-11-26 16:51:43 -03:00
parent c72e5cd87d
commit acfe409119

View File

@ -78,7 +78,7 @@ struct __pthread_mutex_s
0, 0, 0, 0, __kind, 0, { 0, 0 }
#else
# define __PTHREAD_MUTEX_INITIALIZER(__kind) \
0, 0, 0, 0, __kind, { 0 }
0, 0, 0, __kind, 0, { 0 }
#endif
#endif