From 07170aee4cb3bbe0efadd6c60c50d421583a9b6d Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Fri, 18 Jun 2021 20:43:48 +0200 Subject: [PATCH] Unsupported: Remark on expectation of username field update --- unsupported/UnsupportedProcessList.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index 753f83b3..1ab5bd3b 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -65,12 +65,13 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) { proc->tty_nr = 0; proc->tty_name = NULL; proc->tpgid = 0; - proc->st_uid = 0; proc->processor = 0; proc->percent_cpu = 2.5; proc->percent_mem = 2.5; - proc->user = "nobody"; + + proc->st_uid = 0; + proc->user = "nobody"; /* Update whenever proc->st_uid is changed */ proc->priority = 0; proc->nice = 0;