From e94d4d2ed6a442604885618a239373e8df23c269 Mon Sep 17 00:00:00 2001 From: trasz Date: Thu, 24 Mar 2011 20:15:42 +0000 Subject: Add proper width calculation for time fields (time, cputime and usertime). This fixes the ugly overflow in "ps aux" output for "[idle]". --- bin/ps/extern.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/ps/extern.h') diff --git a/bin/ps/extern.h b/bin/ps/extern.h index 6103473..4321285 100644 --- a/bin/ps/extern.h +++ b/bin/ps/extern.h @@ -74,12 +74,15 @@ void rgroupname(KINFO *, VARENT *); void runame(KINFO *, VARENT *); void rvar(KINFO *, VARENT *); int s_comm(KINFO *); +int s_cputime(KINFO *); int s_label(KINFO *); int s_loginclass(KINFO *); int s_logname(KINFO *); int s_rgroupname(KINFO *); int s_runame(KINFO *); +int s_systime(KINFO *); int s_uname(KINFO *); +int s_usertime(KINFO *); void showkey(void); void started(KINFO *, VARENT *); void state(KINFO *, VARENT *); -- cgit v1.1