diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-18 21:14:13 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-18 21:14:13 +0000 |
commit | ba4bbd54ba3169dd5e81fcf867365e23caa907ba (patch) | |
tree | 8be1ee454d786c1aae0ea45be068e22b2a7c70a5 /layout.c | |
parent | 3eb2d1e9f1d53d4df699b741c151a66b904dd1a4 (diff) | |
download | flashrom-ba4bbd54ba3169dd5e81fcf867365e23caa907ba.zip flashrom-ba4bbd54ba3169dd5e81fcf867365e23caa907ba.tar.gz |
Coding-style fixes for flashrom, partly indent-aided
Corresponding to flashrom svn r326 and coreboot v2 svn r3669.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,13 +75,13 @@ int show_id(uint8_t *bios, int size, int force) printf("Flash image seems to be a legacy BIOS. Disabling checks.\n"); return 0; } - + mb_part = (char *)(bios + size - mb_part_offset); mb_vendor = (char *)(bios + size - mb_vendor_offset); if (!isprint((unsigned char)*mb_part) || !isprint((unsigned char)*mb_vendor)) { printf("Flash image seems to have garbage in the ID location." - " Disabling checks.\n"); + " Disabling checks.\n"); return 0; } @@ -189,7 +189,7 @@ int find_romentry(char *name) return i; } } - printf("not found.\n"); // Not found. Error. + printf("not found.\n"); // Not found. Error. return -1; } |