Fix a typo in lbtdump output (trivial).
Signed-off-by: Ed Swierk <eswierk@arastra.com> Acked-by: Ed Swierk <eswierk@arastra.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
193378698e
commit
35993a231e
|
@ -72,7 +72,7 @@ struct lb_header *find_lb_table(void *base, unsigned long start, unsigned long e
|
||||||
struct lb_record *recs = (struct lb_record *)(((char*)base) + addr + sizeof(*head));
|
struct lb_record *recs = (struct lb_record *)(((char*)base) + addr + sizeof(*head));
|
||||||
if (memcmp(head->signature, "LBIO", 4) != 0)
|
if (memcmp(head->signature, "LBIO", 4) != 0)
|
||||||
continue;
|
continue;
|
||||||
fprintf(stdout, "Found canidate at: %08lx-%08lx\n",
|
fprintf(stdout, "Found candidate at: %08lx-%08lx\n",
|
||||||
addr, addr + head->table_bytes);
|
addr, addr + head->table_bytes);
|
||||||
if (head->header_bytes != sizeof(*head)) {
|
if (head->header_bytes != sizeof(*head)) {
|
||||||
fprintf(stderr, "Header bytes of %d are incorrect\n",
|
fprintf(stderr, "Header bytes of %d are incorrect\n",
|
||||||
|
|
Loading…
Reference in New Issue