[U-Boot] [PATCH v2 4/6] dlmalloc: be compatible to tiny printf
Simon Goldschmidt
simon.k.r.goldschmidt at gmail.com
Fri Mar 15 20:13:45 UTC 2019
Convert debug output from '%#lx' to '0x%lx' to be compatible with tiny
printf used in SPL.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
---
Changes in v2: None
common/dlmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index 51d3bd671a..af6f43dcc9 100644
--- a/common/dlmalloc.c
+++ b/common/dlmalloc.c
@@ -608,7 +608,7 @@ void mem_malloc_init(ulong start, ulong size)
mem_malloc_end--;
}
- debug("using memory %#lx-%#lx for malloc()\n", mem_malloc_start,
+ debug("using memory 0x%lx-0x%lx for malloc()\n", mem_malloc_start,
mem_malloc_end);
#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT
memset((void *)mem_malloc_start, 0x0, size);
--
2.17.1
More information about the U-Boot
mailing list