diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-12-19 16:21:08 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | 02431c43e1db2ab18769dc1f0bcfa52e8219f81a (patch) | |
tree | 8bdbb2eb343489c3a5ab031e0f510bb3f437c3eb /linux/LinuxProcess.c | |
parent | fbec3e4005ee88052aae273ce98943f8a3db6382 (diff) |
Rename command line field from comm to cmdline
Diffstat (limited to 'linux/LinuxProcess.c')
-rw-r--r-- | linux/LinuxProcess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c index bd9dc89d..230a7271 100644 --- a/linux/LinuxProcess.c +++ b/linux/LinuxProcess.c @@ -110,7 +110,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { static const char* LinuxProcess_getCommandStr(const Process *this) { const LinuxProcess *lp = (const LinuxProcess *)this; if ((Process_isUserlandThread(this) && this->settings->showThreadNames) || !lp->mergedCommand.str) { - return this->comm; + return this->cmdline; } return lp->mergedCommand.str; } @@ -386,7 +386,7 @@ void LinuxProcess_makeCommandStr(Process* this) { const int delAttr = CRT_colors[FAILED_READ]; /* Establish some shortcuts to data we need */ - const char *cmdline = this->comm; + const char *cmdline = this->cmdline; const char *procExe = lp->procExe; const char *procComm = lp->procComm; |