py/malloc: Fix DEBUG_print() args in m_realloc_maybe.

Signed-off-by: Ihor Nehrutsa <IhorNehrutsa@gmail.com>
This commit is contained in:
IhorNehrutsa 2023-09-03 19:07:51 +03:00 committed by Damien George
parent 545b94a8f5
commit 6e79b55dc8

View File

@ -185,7 +185,7 @@ void *m_realloc_maybe(void *ptr, size_t new_num_bytes, bool allow_move)
#if MICROPY_MALLOC_USES_ALLOCATED_SIZE
DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, old_num_bytes, new_num_bytes, new_ptr);
#else
DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, new_num_bytes, new_ptr);
DEBUG_printf("realloc %p, %d : %p\n", ptr, new_num_bytes, new_ptr);
#endif
return new_ptr;
}