ref: ed38b5e9cb4a8285b9fd259b6a44ab1031ffc604
parent: 5d9deb77e9664cb173869e6d16f7faa117be6c55
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Sep 7 21:49:25 EDT 2016
kernel: fix type for utime/stime in pexit(), fix debug format strings
--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -329,7 +329,7 @@
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 @@
{
Proc *p;
Segment **s, **es;
- long utime, stime;
+ ulong utime, stime;
Waitq *wq;
Fgrp *fgrp;
Egrp *egrp;