diff --git a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_delete/2-1.c b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_delete/2-1.c index 451ae4d36d..28b2e592fb 100644 --- a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_delete/2-1.c +++ b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_delete/2-1.c @@ -53,6 +53,7 @@ void *a_thread_func() /* The thread ends here, the destructor for the key should now be called after this */ pthread_exit(0); + return NULL; } int main()