From 8657c93f0adeefd1b50d54ae30aa0a4ba2d89827 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 28 Mar 2018 02:03:11 +0200 Subject: Fix coding style --- pthread/pt-join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread/pt-join.c') diff --git a/pthread/pt-join.c b/pthread/pt-join.c index 1150b33..329163d 100644 --- a/pthread/pt-join.c +++ b/pthread/pt-join.c @@ -50,7 +50,7 @@ pthread_join (pthread_t thread, void **status) { case PTHREAD_EXITED: /* THREAD has already exited. Salvage its exit status. */ - if (status) + if (status != NULL) *status = pthread->status; __pthread_mutex_unlock (&pthread->state_lock); -- cgit v1.2.3