From 39fe3e5de159ef193590be70fabc8c9560b53a1a Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 12 Feb 2024 21:22:30 +0100 Subject: [PATCH] Fix the grammar as suggsted in the review Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23545) --- crypto/threads_pthread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c index abcafec2db4..1c8b3459597 100644 --- a/crypto/threads_pthread.c +++ b/crypto/threads_pthread.c @@ -399,8 +399,8 @@ void ossl_rcu_read_unlock(CRYPTO_RCU_LOCK *lock) } } /* - * if we get here, we're trying to unlock a lock that we never acquired - * that's fatal + * If we get here, we're trying to unlock a lock that we never acquired - + * that's fatal. */ assert(0); } @@ -451,7 +451,7 @@ static struct rcu_qp *update_qp(CRYPTO_RCU_LOCK *lock) __ATOMIC_RELEASE); /* - * update the reader index to be the prior qp + * Update the reader index to be the prior qp. * Note the use of __ATOMIC_RELEASE here is based on the corresponding use * of __ATOMIC_ACQUIRE in get_hold_current_qp, as we want any publication * of this value to be seen on the read side immediately after it happens -- 2.47.2