git: 8bd794531118 - main - sx: fixup copy pasto in previous

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Mon, 23 Oct 2023 17:31:06 UTC
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=8bd794531118c17b530eb51384439c46e72bb69d

commit 8bd794531118c17b530eb51384439c46e72bb69d
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-10-23 17:29:55 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-10-23 17:29:55 +0000

    sx: fixup copy pasto in previous
    
    Spotted by:     glebius
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/kern/kern_sx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c
index 455ae165e328..ff3cd8a3c195 100644
--- a/sys/kern/kern_sx.c
+++ b/sys/kern/kern_sx.c
@@ -864,7 +864,7 @@ retry_sleepq:
 			sleepq_wait(&sx->lock_object, 0);
 		else
 			error = sleepq_wait_sig(&sx->lock_object, 0);
-		THREAD_CONTENTION_DONE(&sx->lock_object);
+		THREAD_CONTENDS_ON_LOCK(&sx->lock_object);
 #ifdef KDTRACE_HOOKS
 		sleep_time += lockstat_nsecs(&sx->lock_object);
 		sleep_cnt++;