kernel: fix type for utime/stime in pexit(), fix debug format strings
This commit is contained in:
parent
5d9deb77e9
commit
ed38b5e9cb
1 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@ reprioritize(Proc *p)
|
|||
ratio = p->basepri;
|
||||
if(ratio < 0)
|
||||
panic("reprioritize");
|
||||
//iprint("pid %d cpu %d load %d fair %d pri %d\n", p->pid, p->cpu, load, fairshare, ratio);
|
||||
//iprint("pid %lud cpu %lud load %d fair %d pri %d\n", p->pid, p->cpu, load, fairshare, ratio);
|
||||
return ratio;
|
||||
}
|
||||
|
||||
|
@ -1092,7 +1092,7 @@ pexit(char *exitstr, int freemem)
|
|||
{
|
||||
Proc *p;
|
||||
Segment **s, **es;
|
||||
long utime, stime;
|
||||
ulong utime, stime;
|
||||
Waitq *wq;
|
||||
Fgrp *fgrp;
|
||||
Egrp *egrp;
|
||||
|
|
Loading…
Reference in a new issue