aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>1999-04-22 14:34:53 +0000
committerJohn Hay <jhay@FreeBSD.org>1999-04-22 14:34:53 +0000
commite7f807a217bdd9a9b84bb9367fde60fa069bb9ac (patch)
tree59711689329e91a7808f359875ffdc93ae3e8e14
parent9d0e5f96b0ecabe000e11a199a123638e3b10993 (diff)
Notes
-rw-r--r--usr.bin/top/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index f7ad95a0488b3..bef47d23765f8 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -19,7 +19,7 @@
* Steven Wallace <swallace@freebsd.org>
* Wolfram Schneider <wosch@FreeBSD.org>
*
- * $Id: machine.c,v 1.22 1999/03/05 16:38:13 bde Exp $
+ * $Id: machine.c,v 1.23 1999/03/07 06:55:47 bde Exp $
*/
@@ -620,7 +620,7 @@ char *(*get_userid)();
*/
(PP(pp, p_rtprio.type) == RTP_PRIO_NORMAL ?
PP(pp, p_nice) - NZERO :
- (PP(pp, p_rtprio.type) == RTP_PRIO_REALTIME ?
+ (RTP_PRIO_IS_REALTIME(PP(pp, p_rtprio.type)) ?
(PRIO_MIN - 1 - RTP_PRIO_MAX + PP(pp, p_rtprio.prio)) :
(PRIO_MAX + 1 + PP(pp, p_rtprio.prio)))),
format_k2(PROCSIZE(pp)),