diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-10-02 21:17:33 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-10-02 21:17:33 +0000 |
commit | 694a5d3ef32064999cc80945258f96cf553308a8 (patch) | |
tree | eccb4bbee064e9dffe8b12caa9d950ecec94a2ff | |
parent | 0727e266f49275d1c6fd044cd6efa888936b6d5a (diff) |
format string fix: p_*ticks are u_int
-rw-r--r-- | sys/kern/kern_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 86bb22c4dec..4d028a557c6 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_proc.c,v 1.53 2013/09/22 17:28:34 guenther Exp $ */ +/* $OpenBSD: kern_proc.c,v 1.54 2013/10/02 21:17:32 sf Exp $ */ /* $NetBSD: kern_proc.c,v 1.14 1996/02/09 18:59:41 christos Exp $ */ /* @@ -407,7 +407,7 @@ proc_printit(struct proc *p, const char *modif, (*pr)(" estcpu=%u, cpticks=%d, pctcpu=%u.%u, swtime=%u\n", p->p_estcpu, p->p_cpticks, p->p_pctcpu / 100, p->p_pctcpu % 100, p->p_swtime); - (*pr)(" user=%llu, sys=%llu, intr=%llu\n", + (*pr)(" user=%u, sys=%u, intr=%u\n", p->p_uticks, p->p_sticks, p->p_iticks); } #include <machine/db_machdep.h> |