git: 15347d162287 - stable/13 - top(8): restore erronously removed SWAIT array element

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

URL: https://cgit.FreeBSD.org/src/commit/?id=15347d16228773e715400577cc01d0b56244976a

commit 15347d16228773e715400577cc01d0b56244976a
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-06-21 05:43:11 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-06-27 21:04:16 +0000

    top(8): restore erronously removed SWAIT array element
    
    (cherry picked from commit 5bd5470a2c975b8d3c841a68ac66bd0a3acdf966)
---
 usr.bin/top/machine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 1785db8b9dc4..414b92560523 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -1267,6 +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	*/
 };