diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-04-10 13:31:39 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | bcb18ef82269c68d54a160290e5f8b2e939674ec (patch) | |
tree | e5967c038b2d11ed906b8fdda0babe114dab3c46 /linux/LinuxProcessList.c | |
parent | c0d02024407411f75a4d7d5b63f26b74c727027b (diff) |
Move Process_makeCommandStr to global Process implementation
Diffstat (limited to 'linux/LinuxProcessList.c')
-rw-r--r-- | linux/LinuxProcessList.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index 020fc0a5..ca2f2b80 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -1028,7 +1028,7 @@ static bool LinuxProcessList_readCmdlineFile(Process* process, openat_arg_t proc for (int i = 0; i < amtRead; i++) { /* newline used as delimiter - when forming the mergedCommand, newline is - * converted to space by LinuxProcess_makeCommandStr */ + * converted to space by Process_makeCommandStr */ if (command[i] == '\0') { command[i] = '\n'; } else { @@ -1432,7 +1432,7 @@ static bool LinuxProcessList_recurseProcTree(LinuxProcessList* this, openat_arg_ if (!Process_isKernelThread(proc) && (proc->state != 'Z' || proc->mergedCommand.str) && (!Process_isUserlandThread(proc) || !settings->showThreadNames)) { - LinuxProcess_makeCommandStr(proc); + Process_makeCommandStr(proc); } #ifdef HAVE_DELAYACCT |