diff options
author | julian <julian@FreeBSD.org> | 2002-02-13 00:10:04 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-02-13 00:10:04 +0000 |
commit | 2cc6336eb4049aad8c492e8f48ab4e58b1e6d683 (patch) | |
tree | aaaff97f2e1ede0f658345c04091d3278a08d7db /lib | |
parent | 6be8f7b39fd17aa95f1fdd9d8cc97e28aab17c4a (diff) | |
download | FreeBSD-src-2cc6336eb4049aad8c492e8f48ab4e58b1e6d683.zip FreeBSD-src-2cc6336eb4049aad8c492e8f48ab4e58b1e6d683.tar.gz |
I THINK this fixes 'make world'
I'll know as soon as I re-import it and compile it.. :-)
There is no longer a 'pri' strict in the proc struct.
the fields are scattered between the ksegrp and thread in question.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 6cce411..cb34360 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -328,7 +328,10 @@ nopgrp: kp->ki_wchan = mainthread.td_wchan; /* XXXKSE */ kp->ki_traceflag = proc.p_traceflag; kp->ki_stat = proc.p_stat; - kp->ki_pri = proc.p_ksegrp.kg_pri; /* XXXKSE */ + kp->ki_pri.pri_class = proc.p_ksegrp.kg_pri_class; /* XXXKSE */ + kp->ki_pri.pri_user = proc.p_ksegrp.kg_user_pri; /* XXXKSE */ + kp->ki_pri.pri_level = mainthread.td_priority; /* XXXKSE */ + kp->ki_pri.pri_native = mainthread.td_base_pri; /* XXXKSE */ kp->ki_nice = proc.p_ksegrp.kg_nice; /* XXXKSE */ kp->ki_lock = proc.p_lock; kp->ki_rqindex = proc.p_kse.ke_rqindex; /* XXXKSE */ |