diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-07-13 12:36:29 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-07-13 12:36:35 +0200 |
| commit | 13bc7e1e1415a0b17db609774f59b594c7633941 (patch) | |
| tree | c4ea048fd9ad91c86ca73e313a5aca8b6b3a5ec3 /src/helpers/MiscFunctions.cpp | |
| parent | 7486576fa7a3d394254cb07734679df4b2469071 (diff) | |
style: fix clang-format
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
| -rw-r--r-- | src/helpers/MiscFunctions.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index aa034254..712e4e50 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -649,13 +649,9 @@ void matrixProjection(float mat[9], int w, int h, wl_output_transform tr) { int64_t getPPIDof(int64_t pid) { #if defined(KERN_PROC_PID) int mib[] = { - CTL_KERN, - KERN_PROC, - KERN_PROC_PID, - (int)pid, + CTL_KERN, KERN_PROC, KERN_PROC_PID, (int)pid, #if defined(__NetBSD__) || defined(__OpenBSD__) - sizeof(KINFO_PROC), - 1, + sizeof(KINFO_PROC), 1, #endif }; u_int miblen = sizeof(mib) / sizeof(mib[0]); |
