summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-06-18 20:43:48 +0200
committerBenBE <BenBE@geshi.org>2021-06-22 09:32:11 +0200
commit07170aee4cb3bbe0efadd6c60c50d421583a9b6d (patch)
treee64313250403298271f8b2bb0e8febdd6346de9e /unsupported
parent4dce2db83247ef2611b3e257cf3746ee93577ee1 (diff)
Unsupported: Remark on expectation of username field update
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/UnsupportedProcessList.c5
1 files 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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy