top(8): add missed SLOCK state to the sorted_state[]

Put it near/after the sleep state.

Noted by:	Mark Millard <marklmi@yahoo.com>
Reviewed by:	kevans
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D40607
This commit is contained in:
Konstantin Belousov 2023-06-19 19:00:15 +03:00
parent d636fc5bd1
commit 6a5e6a50bd

View File

@ -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 */
};