summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}