radical re-formatting 3/3: Error checks
authordrkhsh <me@drkhsh.at>
Thu, 27 Oct 2022 22:21:02 +0000 (00:21 +0200)
committerdrkhsh <me@drkhsh.at>
Thu, 27 Oct 2022 23:03:46 +0000 (01:03 +0200)
commitcce2e5ecb05cdf68831fbf44c5ab90f4e16364b3
tree7caa1faa12adf6f32dfaf10a61cc69985b9bcb79
parent3251e911878b78b0aad8fc09c782f8d81c878f75
radical re-formatting 3/3: Error checks

Check for `< 0` instead of `== -1`.

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
components/cpu.c
components/netspeeds.c
components/ram.c
components/swap.c