From 7773367959d48f11777f8337bd599c6637f200a3 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Fri, 22 Aug 2014 14:35:55 +0000 Subject: [PATCH] ps: fix reported run time --- minix/commands/ps/ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ };