From 6ad4f345dcf7ad81ae5cf7ca058233a79103b270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 19 May 2021 17:44:33 +0200 Subject: Unsupported: use merge command line helpers --- unsupported/UnsupportedProcessList.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'unsupported') 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, ""); - proc->cmdlineBasenameEnd = -1; - proc->mergedCommand.cmdlineChanged = true; + + Process_updateComm(proc, "commof16char"); + Process_updateCmdline(proc, "", 0, 0); + Process_updateExe(proc, "/path/to/executable"); + proc->updated = true; proc->state = 'R'; -- cgit v1.2.3