diff options
Diffstat (limited to 'unsupported/UnsupportedProcessList.c')
-rw-r--r-- | unsupported/UnsupportedProcessList.c | 3 |
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 */ |