diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-09-08 01:49:25 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-09-08 01:49:25 +0200 |
commit | ed38b5e9cb4a8285b9fd259b6a44ab1031ffc604 (patch) | |
tree | 42473eef896e66f1bfe8d7df85a5a0a84b98ef1e | |
parent | 5d9deb77e9664cb173869e6d16f7faa117be6c55 (diff) | |
download | plan9front-ed38b5e9cb4a8285b9fd259b6a44ab1031ffc604.tar.xz |
kernel: fix type for utime/stime in pexit(), fix debug format strings
-rw-r--r-- | sys/src/9/port/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index 82d8b088f..b39fc0942 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -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; |