aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-locale1.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-locale1.c')
-rw-r--r--nptl/tst-locale1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c
index 08b43704e5..2ee4c3fbce 100644
--- a/nptl/tst-locale1.c
+++ b/nptl/tst-locale1.c
@@ -10,7 +10,8 @@
int
useless (void)
{
- pthread_create (0, 0, 0, 0);
+ pthread_t th;
+ pthread_create (&th, 0, (void *(*) (void *)) useless, 0);
/* This is to check __libc_current_sigrt* can be used in statically
linked apps. */
return SIGRTMIN;