summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-07-08 17:44:53 +0200
committerAaron Marcher <me@drkhsh.at>2018-07-08 17:44:53 +0200
commite213b48122f1f8e8d837053324d9c891a67a38d2 (patch)
treed1b203732fbfe298c78765978bcb3aec6ee1ee60
parent96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc (diff)
Fix whitespace
-rw-r--r--components/ram.c2
-rw-r--r--components/temperature.c2
-rw-r--r--components/wifi.c2
3 files changed, 3 insertions, 3 deletions
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;
}