Correct whitespace
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
diff --git a/amiga-nvram.c b/amiga-nvram.c
index 3feb93a..9492438 100644
--- a/amiga-nvram.c
+++ b/amiga-nvram.c
@@ -17,7 +17,7 @@
#define NVRAM_FILE "/sys/devices/platform/rtc-rp5c01/nvram"
-#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
static const char *program_name;
@@ -243,9 +243,10 @@
const struct nvram_field *field = &nvram_fields[i];
uint32_t val = nvram_get_field(field);
if (field->len == 32)
- printf("%-*s = 0x%08x\n", max_name_len, field->name, val);
+ printf("%-*s = 0x%08x\n", max_name_len, field->name,
+ val);
else
- printf("%-*s = %u\n", max_name_len, field->name, val);
+ printf("%-*s = %u\n", max_name_len, field->name, val);
}
printf("%-*s = 0x%02x ", max_name_len, "checksum", nvram.checksum);
sum = nvram_checksum();
@@ -344,8 +345,8 @@
if (opt_checksum) {
uint8_t sum = nvram_checksum();
if (sum != nvram.checksum) {
- msg("Correcting checksum\n");
- nvram.checksum = sum;
+ msg("Correcting checksum\n");
+ nvram.checksum = sum;
}
}