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 | 1aa329dcb0543dabe9b2eb538bb1ec1f183a10f9 (patch) | |
tree | 87e19016867a93a7048149aef73e425270e7b6c9 /util/flashrom/layout.c | |
parent | 582364d8089cb630e673eaee3710733b11d5125b (diff) | |
download | coreboot-1aa329dcb0543dabe9b2eb538bb1ec1f183a10f9.tar.xz |
Coding-style fixes for flashrom, partly indent-aided (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3669 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/layout.c')
-rw-r--r-- | util/flashrom/layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/flashrom/layout.c b/util/flashrom/layout.c index 668781bfc9..ef0958286f 100644 --- a/util/flashrom/layout.c +++ b/util/flashrom/layout.c @@ -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; } |