mirror of
https://github.com/dgibson/dtc.git
synced 2026-10-10 08:03:00 -04:00
ftdump missing be32_to_cpu() on size cell.
This commit is contained in:
parent
cd1da87116
commit
001430072f
1 changed files with 1 additions and 1 deletions
2
ftdump.c
2
ftdump.c
|
|
@ -142,7 +142,7 @@ static void dump_blob(void *blob)
|
|||
fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag);
|
||||
break;
|
||||
}
|
||||
sz = GET_CELL(p);
|
||||
sz = be32_to_cpu(GET_CELL(p));
|
||||
s = p_strings + be32_to_cpu(GET_CELL(p));
|
||||
if (version < 16 && sz >= 8)
|
||||
p = PALIGN(p, 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue