]> granicus.if.org Git - procps-ng/commitdiff
w: responded to those library changes for 'TIME' stuff
authorJim Warner <james.warner@comcast.net>
Sat, 26 Feb 2022 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Sun, 27 Feb 2022 10:27:02 +0000 (21:27 +1100)
The library refactored 'TIME' items for consistency so
we must adapt to some new data types and calculations.

Signed-off-by: Jim Warner <james.warner@comcast.net>
w.c

diff --git a/w.c b/w.c
index 81de37efa0cab47a1cdbd7e3b30a225f0a042247..612d41cb2fdd7aeb8a1ff27e015891759feca3a7 100644 (file)
--- a/w.c
+++ b/w.c
@@ -373,7 +373,7 @@ static int find_best_proc(
     struct pids_fetch *reap;
     enum pids_item items[] = {
         PIDS_ID_TGID,
-        PIDS_TIME_START,
+        PIDS_TICS_BEGAN,
         PIDS_ID_EUID,
         PIDS_ID_RUID,
         PIDS_ID_TPGID,