The branch main has been updated by kib:

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

commit 5bd5470a2c975b8d3c841a68ac66bd0a3acdf966
Author:     Konstantin Belousov <k...@freebsd.org>
AuthorDate: 2023-06-21 05:43:11 +0000
Commit:     Konstantin Belousov <k...@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      */
 };
 

Reply via email to