Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2023 05:44:48 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5bd5470a2c97 - main - top(8): restore erronously removed SWAIT array element
Message-ID:  <202306210544.35L5imsh064757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=5bd5470a2c975b8d3c841a68ac66bd0a3acdf966

commit 5bd5470a2c975b8d3c841a68ac66bd0a3acdf966
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-06-21 05:43:11 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-06-21 05:43:11 +0000

    top(8): restore erronously removed SWAIT array element
    
    due to bad rebase.
    
    Noted by:       kevans
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Fixes:  6a5e6a50bd55c3fb4933abe1edaad3a928700c42ESC
---
 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	*/
 };
 



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