diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-05-19 17:44:33 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | 6ad4f345dcf7ad81ae5cf7ca058233a79103b270 (patch) | |
tree | c55ed167f7f5ab849b034520ffdb7322b0a38f62 /unsupported | |
parent | 05fb681d5cc9535f12879d4b307808b5307861c1 (diff) |
Unsupported: use merge command line helpers
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/UnsupportedProcessList.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index cea85cc2..119c9c3e 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -45,9 +45,11 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) { proc->pid = 1; proc->ppid = 1; proc->tgid = 0; - free_and_xStrdup(&proc->cmdline, "<unsupported architecture>"); - proc->cmdlineBasenameEnd = -1; - proc->mergedCommand.cmdlineChanged = true; + + Process_updateComm(proc, "commof16char"); + Process_updateCmdline(proc, "<unsupported architecture>", 0, 0); + Process_updateExe(proc, "/path/to/executable"); + proc->updated = true; proc->state = 'R'; |