"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

disk/part_dos.c: Make use of LBAF for printing lbaint_t

When printing the contents of an lbaint_t variable we need to use LBAF
to print it in order to get the correct format type depending on 32 or
64bit-ness.

Signed-off-by: Tom Rini <trini@konsulko.com>

Tom Rini 9cede193 3393f3dd

+1 -1
+1 -1
disk/part_dos.c
··· 421 421 422 422 /* write EBR */ 423 423 if (blk_dwrite(dev, ext_part_sect, 1, buffer) != 1) { 424 - printf("%s: failed writing 'EBR' (1 blks at 0x%lx)\n", 424 + printf("%s: failed writing 'EBR' (1 blks at 0x" LBAF ")\n", 425 425 __func__, ext_part_sect); 426 426 return -1; 427 427 }