diff options
author | drkhsh <me@drkhsh.at> | 2022-10-28 00:49:31 +0200 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-10-28 01:03:31 +0200 |
commit | 0c8ac6edf9ad50506465db3fb70535ab561e6872 (patch) | |
tree | c7859bd5b27dcc4ee9a2c84b939d099c42167a9c /components/swap.c | |
parent | 8c15f9d480503d8edbfc41edb31861b00b13cbb0 (diff) |
radical re-formatting 1/3: Fix spacing
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
Diffstat (limited to 'components/swap.c')
-rw-r--r-- | components/swap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/swap.c b/components/swap.c index 49ba3cb..af05e01 100644 --- a/components/swap.c +++ b/components/swap.c @@ -210,7 +210,7 @@ kvm_t *kd; kd = kvm_openfiles(NULL, "/dev/null", NULL, 0, NULL); - if(kd == NULL) { + if (kd == NULL) { warn("kvm_openfiles '/dev/null':"); return 0; } @@ -231,7 +231,7 @@ struct kvm_swap swap_info[1]; long used, total; - if(!getswapinfo(swap_info, 1)) + if (!getswapinfo(swap_info, 1)) return NULL; total = swap_info[0].ksw_total; @@ -246,7 +246,7 @@ struct kvm_swap swap_info[1]; long used, total; - if(!getswapinfo(swap_info, 1)) + if (!getswapinfo(swap_info, 1)) return NULL; total = swap_info[0].ksw_total; @@ -261,7 +261,7 @@ struct kvm_swap swap_info[1]; long total; - if(!getswapinfo(swap_info, 1)) + if (!getswapinfo(swap_info, 1)) return NULL; total = swap_info[0].ksw_total; @@ -275,7 +275,7 @@ struct kvm_swap swap_info[1]; long used; - if(!getswapinfo(swap_info, 1)) + if (!getswapinfo(swap_info, 1)) return NULL; used = swap_info[0].ksw_used; |