diff options
| author | Pali Rohár <[email protected]> | 2022-02-03 19:51:37 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-11 09:00:47 -0500 |
| commit | eebcdb34d06104ed9ad2f089ad8a0b4f3b8ec89e (patch) | |
| tree | 16a1b44b87ac531f64b7d82a82dc7da7622f4688 /cmd/stackprot_test.c | |
| parent | 36fee2f7621eb2074be17bb0c4f8c950b0362c52 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd/stackprot_test.c')
0 files changed, 0 insertions, 0 deletions
