Skip to content
Commit eebcdb34 authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Tom Rini
Browse files

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: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 36fee2f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment