]> Zhao Yanbai Git Server - minix.git/commitdiff
ps: fix reported run time 37/2737/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 22 Aug 2014 14:35:55 +0000 (14:35 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 24 Aug 2014 09:22:36 +0000 (09:22 +0000)
minix/commands/ps/ps.c

index ea6e9f6450fbacc6863d0eee88e111b4c4ecf6dc..dd6664675c6162fab41ecce13bd07c79b80ea813 100644 (file)
@@ -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 */
 };