Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2023 00:57:18 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 732e4df3b388 - stable/13 - top(8): add missed SLOCK state to the sorted_state[]
Message-ID:  <202306280057.35S0vIa7079160@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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	*/
 };
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306280057.35S0vIa7079160>