X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Ffdt_support.c;h=1f0d8f5fe9a3348addd99255b4538dd3830fd424;hb=8ad59c9a7bef49a18078888ad8eba8e87737c3b2;hp=b034c9835ba747aee9be296332db43a54ef00bd9;hpb=326ea986ac150acdc7656d57fca647db80b50158;p=u-boot diff --git a/common/fdt_support.c b/common/fdt_support.c index b034c9835b..1f0d8f5fe9 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -766,11 +766,11 @@ int fdt_node_set_part_info(void *blob, int parent_offset, part = list_entry(pentry, struct part_info, link); - debug("%2d: %-20s0x%08x\t0x%08x\t%d\n", + debug("%2d: %-20s0x%08llx\t0x%08llx\t%d\n", part_num, part->name, part->size, part->offset, part->mask_flags); - sprintf(buf, "partition@%x", part->offset); + sprintf(buf, "partition@%llx", part->offset); add_sub: ret = fdt_add_subnode(blob, parent_offset, buf); if (ret == -FDT_ERR_NOSPACE) {