summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:18:27 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commit0d85af28727255ae4203cf01d1d657dc0c8d4258 (patch)
tree0c8cf78acb173b4a9df83b431820152ffa31aec0 /openbsd
parent458749df45a24abec1f9a820e4172a08ccfba3b1 (diff)
Whitespace around operators
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/OpenBSDProcessList.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/OpenBSDProcessList.c b/openbsd/OpenBSDProcessList.c
index 8dc4ac94..76b2aeb7 100644
--- a/openbsd/OpenBSDProcessList.c
+++ b/openbsd/OpenBSDProcessList.c
@@ -226,8 +226,8 @@ static void OpenBSDProcessList_updateProcessName(kvm_t* kd, const struct kinfo_p
end = MINIMUM(n, len - 1);
/* check if cmdline ended earlier, e.g 'kdeinit5: Running...' */
for (int j = end; j > 0; j--) {
- if (arg[0][j] == ' ' && arg[0][j-1] != '\\') {
- end = (arg[0][j-1] == ':') ? (j-1) : j;
+ if (arg[0][j] == ' ' && arg[0][j - 1] != '\\') {
+ end = (arg[0][j - 1] == ':') ? (j - 1) : j;
}
}
}

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