summaryrefslogtreecommitdiff
path: root/pthread/pt-self.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:03:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:03:11 +0200
commit8657c93f0adeefd1b50d54ae30aa0a4ba2d89827 (patch)
tree4fde4d311d435ab0f5413e168f4c99767f7032ef /pthread/pt-self.c
parented3150fb7413fce0321ad88a22de7871a301f7c3 (diff)
Fix coding style
Diffstat (limited to 'pthread/pt-self.c')
-rw-r--r--pthread/pt-self.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-self.c b/pthread/pt-self.c
index 44e43dd..0f932ac 100644
--- a/pthread/pt-self.c
+++ b/pthread/pt-self.c
@@ -25,7 +25,7 @@ pthread_t
__pthread_self (void)
{
struct __pthread *self = _pthread_self ();
- assert (self);
+ assert (self != NULL);
return self->thread;
}