aboutsummaryrefslogtreecommitdiffstats
path: root/unsupported/UnsupportedProcessList.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-05-02 16:04:22 +0200
committerDaniel Lange <DLange@git.local>2022-05-02 16:04:22 +0200
commit2f0332b75397ad5240a429d72203f0531011b6a9 (patch)
tree4782d4b8d0c43f3e6faa1bbbe95816a09e815e67 /unsupported/UnsupportedProcessList.c
parent93c96b12c9cb349b762d38d69568d65cd3e4fbfd (diff)
parent1b805a31720727008b32b1129a167758519fd4db (diff)
downloaddebian_htop-2f0332b75397ad5240a429d72203f0531011b6a9.tar.gz
debian_htop-2f0332b75397ad5240a429d72203f0531011b6a9.tar.bz2
debian_htop-2f0332b75397ad5240a429d72203f0531011b6a9.zip
Update upstream source from tag 'upstream/3.2.0'
Update to upstream version '3.2.0' with Debian dir 5ce130e9471b77941bbd217b5ea8b7b3419a91c6
Diffstat (limited to 'unsupported/UnsupportedProcessList.c')
-rw-r--r--unsupported/UnsupportedProcessList.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c
index b64de41..5291797 100644
--- a/unsupported/UnsupportedProcessList.c
+++ b/unsupported/UnsupportedProcessList.c
@@ -51,7 +51,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
Process_updateCmdline(proc, "<unsupported architecture>", 0, 0);
Process_updateExe(proc, "/path/to/executable");
- if (proc->settings->flags & PROCESS_FLAG_CWD) {
+ if (proc->settings->ss->flags & PROCESS_FLAG_CWD) {
free_and_xStrdup(&proc->procCwd, "/current/working/directory");
}
@@ -70,6 +70,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
proc->percent_cpu = 2.5;
proc->percent_mem = 2.5;
+ Process_updateCPUFieldWidths(proc->percent_cpu);
proc->st_uid = 0;
proc->user = "nobody"; /* Update whenever proc->st_uid is changed */

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