libbase/memtest: remove 0x no longer required with %p.

This commit is contained in:
Florent Kermarrec 2021-01-24 21:09:19 +01:00
parent 01a2fc11e2
commit 1a38d51e08

View file

@ -224,7 +224,7 @@ void memspeed(unsigned int *addr, unsigned long size, bool read_only)
__attribute__((unused)) unsigned long data;
const unsigned int sz = sizeof(unsigned long);
printf("Memspeed at 0x%p (", addr);
printf("Memspeed at %p (", addr);
print_size(size);
printf(")...\n");
@ -279,7 +279,7 @@ int memtest(unsigned int *addr, unsigned long maxsize)
unsigned long addr_size = MEMTEST_ADDR_SIZE < maxsize ? MEMTEST_ADDR_SIZE : maxsize;
unsigned long data_size = maxsize;
printf("Memtest at 0x%p (", addr);
printf("Memtest at %p (", addr);
print_size(data_size);
printf(")...\n");