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
commit55abc2c9e841d8772fc887edab04c40b807527e4 (patch)
treed1b203732fbfe298c78765978bcb3aec6ee1ee60
parent7234e675833f26442d4a3a2afaa9dccb682e3b0a (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;
}