slstatus

status monitor
git clone git://git.suckless.org/slstatus
Log | Files | Refs | README | LICENSE

commit e213b48122f1f8e8d837053324d9c891a67a38d2
parent 96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc
Author: Aaron Marcher <me@drkhsh.at>
Date:   Sun,  8 Jul 2018 17:44:53 +0200

Fix whitespace

Diffstat:
components/ram.c | 2+-
components/temperature.c | 2+-
components/wifi.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/ram.c b/components/ram.c @@ -80,7 +80,7 @@ #include <sys/types.h> #include <unistd.h> - #define LOG1024 10 + #define LOG1024 10 #define pagetok(size, pageshift) (size_t)(size << (pageshift - LOG1024)) inline int diff --git a/components/temperature.c b/components/temperature.c @@ -11,7 +11,7 @@ { uintmax_t temp; - if(pscanf(file, "%ju", &temp) != 1) { + if (pscanf(file, "%ju", &temp) != 1) { return NULL; } diff --git a/components/wifi.c b/components/wifi.c @@ -32,7 +32,7 @@ } p = fgets(status, 5, fp); fclose(fp); - if(!p || strcmp(status, "up\n") != 0) { + if (!p || strcmp(status, "up\n") != 0) { return NULL; }