git: 732e4df3b388 - stable/13 - top(8): add missed SLOCK state to the sorted_state[]

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 28 Jun 2023 00:57:18 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=732e4df3b3884790588bc97392895b832dbbc0b6

commit 732e4df3b3884790588bc97392895b832dbbc0b6
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-06-19 16:00:15 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-06-27 21:04:16 +0000

    top(8): add missed SLOCK state to the sorted_state[]
    
    (cherry picked from commit 6a5e6a50bd55c3fb4933abe1edaad3a928700c42)
---
 usr.bin/top/machine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 15788fe53443..1785db8b9dc4 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -1267,7 +1267,7 @@ static const int sorted_state[] = {
 	[SSLEEP] =	6,	/* sleeping		*/
 	[SSTOP] =	5,	/* stopped/suspended	*/
 	[SZOMB] =	2,	/* zombie		*/
-	[SWAIT] =	4,	/* intr			*/
+	[SLOCK] =	7,	/* blocked on lock	*/
 };