Fix whitespace
authorAaron Marcher <me@drkhsh.at>
Sun, 8 Jul 2018 15:44:53 +0000 (17:44 +0200)
committerAaron Marcher <me@drkhsh.at>
Sun, 8 Jul 2018 15:44:53 +0000 (17:44 +0200)
components/ram.c
components/temperature.c
components/wifi.c

index 1d5b1da677299d92dfd51e310f4368e3e83db1f0..91311ac87b32a8631058cd213ed4dc08eb982ef4 100644 (file)
@@ -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
index 45fbc9b78565da3443944cfd63c543efdc5c596f..d56cc0e73f4023510980b91bd371ba4b0412c9f5 100644 (file)
@@ -11,7 +11,7 @@
        {
                uintmax_t temp;
 
-               if(pscanf(file, "%ju", &temp) != 1) {
+               if (pscanf(file, "%ju", &temp) != 1) {
                        return NULL;
                }
 
index e5dd4b5f4300e752c8daaa8c4fad170178a9a019..8863252268a552c4699840be69f92a93bea69d63 100644 (file)
@@ -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;
                }