This patch corrects print-out of the partition sizes because the partition
sizes are 64 bit sizes. Thus, we should change the format from %X to %llx.
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
#else
printf("ptn %d name='%s' ", n, ptn->name);
if (n == 0 || ptn->start)
- printf("start=0x%X ", ptn->start);
+ printf("start=0x%llx ", ptn->start);
else
printf("start=N/A ");
if (ptn->length)
- printf("len=0x%X(~%dKB) ", ptn->length, ptn->length>>10);
+ printf("len=0x%llx(~%lldKB) ", ptn->length,
+ ptn->length >> 10);
else
printf("len=N/A ");