diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/threadstest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/threadstest.c b/test/threadstest.c index 2d05255..b2b1ec2 100644 --- a/test/threadstest.c +++ b/test/threadstest.c @@ -436,7 +436,7 @@ static int _torture_rcu(void) rcu_torture_result = 1; rcu_lock = ossl_rcu_lock_new(1, NULL); - if (!rcu_lock) + if (rcu_lock == NULL) goto out; TEST_info("Staring rcu torture"); |