From: David van Moolenbroek Date: Fri, 22 Aug 2014 14:35:55 +0000 (+0000) Subject: ps: fix reported run time X-Git-Tag: v3.3.0~53 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=7773367959d48f11777f8337bd599c6637f200a3;p=minix.git ps: fix reported run time --- diff --git a/minix/commands/ps/ps.c b/minix/commands/ps/ps.c index ea6e9f645..dd6664675 100644 --- a/minix/commands/ps/ps.c +++ b/minix/commands/ps/ps.c @@ -116,8 +116,8 @@ struct pstat { /* structure filled by pstat() */ int ps_ftask; /* VFS suspend task (endpoint) */ vir_bytes ps_memory; /* memory usage */ int ps_recv; /* process number to receive from (endpoint) */ - time_t ps_utime; /* accumulated user time */ - time_t ps_stime; /* accumulated system time */ + unsigned int ps_utime; /* accumulated user time */ + unsigned int ps_stime; /* accumulated system time */ char ps_name[PROC_NAME_LEN+1];/* process name */ char *ps_args; /* concatenated argument string */ };