summaryrefslogtreecommitdiffstats
path: root/pcp
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:24:18 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commit976c6123f41492aaf613b9d172eef1842fb7b0a3 (patch)
treec5d2cc5276cd909348a41214320d305eb955fe57 /pcp
parent68edf924349e10ed6a144d4d6f1d0ddcdfeb6d43 (diff)
Pointer indication aligned to typename
Diffstat (limited to 'pcp')
-rw-r--r--pcp/PCPProcessList.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcp/PCPProcessList.c b/pcp/PCPProcessList.c
index da51c31c..fccd60d7 100644
--- a/pcp/PCPProcessList.c
+++ b/pcp/PCPProcessList.c
@@ -273,7 +273,7 @@ static void PCPProcessList_updateCmdline(Process* process, int pid, int offset,
return;
}
- char *command = value.cp;
+ char* command = value.cp;
int length = strlen(command);
if (command[0] != '(') {
process->isKernelThread = false;
@@ -472,7 +472,7 @@ static inline void PCPProcessList_backupCPUTime(pmAtomValue* values) {
}
static inline void PCPProcessList_saveCPUTimePeriod(pmAtomValue* values, CPUMetric previous, pmAtomValue* latest) {
- pmAtomValue *value;
+ pmAtomValue* value;
/* new value for period */
value = &values[previous];

© 2014-2024 Faster IT GmbH | imprint | privacy policy