commit e213b48122f1f8e8d837053324d9c891a67a38d2
Author:     Aaron Marcher <m...@drkhsh.at>
AuthorDate: Sun Jul 8 17:44:53 2018 +0200
Commit:     Aaron Marcher <m...@drkhsh.at>
CommitDate: Sun Jul 8 17:44:53 2018 +0200

    Fix whitespace

diff --git a/components/ram.c b/components/ram.c
index 1d5b1da..91311ac 100644
--- 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
index 45fbc9b..d56cc0e 100644
--- 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
index e5dd4b5..8863252 100644
--- 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;
                }
 

Reply via email to