u-boot/common
Pali Rohár eebcdb34d0 malloc_simple: Remove usage of unsupported %zx format string
Replace %zx by %lx and cast size_t to ulong.

U-Boot currently prints garbage debug output:
size=x, ptr=18, limit=18: 4002a000

With this change it prints correct debug data:
size=18, ptr=18, limit=2000: 4002a000

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-02-11 09:00:47 -05:00
..
eeprom
init
spl
autoboot.c
avb_verify.c
bloblist.c
board_f.c
board_info.c
board_r.c
bootstage.c
bouncebuf.c
cli.c
cli_hush.c
cli_readline.c
cli_simple.c
command.c
console.c
cros_ec.c
ddr_spd.c
dfu.c
dlmalloc.c
dlmalloc.src
edid.c
exports.c
fdt_simplefb.c
fdt_support.c
flash.c
hash.c
hwconfig.c
iomux.c
iotrace.c
kallsyms.c
Kconfig
kgdb.c
kgdb_stubs.c
lcd.c
lcd_console.c
lcd_console_rotation.c
log.c
log_console.c
log_syslog.c
main.c
Makefile
malloc_simple.c malloc_simple: Remove usage of unsupported %zx format string 2022-02-11 09:00:47 -05:00
memsize.c
menu.c
miiphyutil.c
qfw.c
s_record.c
scp03.c
splash.c
splash_source.c
stackprot.c
stdio.c
system_map.c
update.c
usb.c
usb_hub.c
usb_kbd.c
usb_storage.c
xyzModem.c