summaryrefslogtreecommitdiff
path: root/layout.c
diff options
context:
space:
mode:
authoruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2008-10-18 21:14:13 +0000
committeruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2008-10-18 21:14:13 +0000
commit4b225e31d2e70b8d16d7dcebe0a304731da154c3 (patch)
tree8be1ee454d786c1aae0ea45be068e22b2a7c70a5 /layout.c
parentff27b329a3107c71d9e9dc7e65aecba9f398cd6f (diff)
downloadflashrom-4b225e31d2e70b8d16d7dcebe0a304731da154c3.tar.gz
Original v2 revision: 3669
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: https://code.coreboot.org/svn/flashrom/trunk@326 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout.c b/layout.c
index 668781b..ef09582 100644
--- a/layout.c
+++ b/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;
}