diff options
author | IhorNehrutsa <Ihor.Nehrutsa@gmail.com> | 2023-09-03 19:07:51 +0300 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-09-04 10:26:09 +1000 |
commit | 6e79b55dc86dd443d50fe2bbf5d03456c2ae54a0 (patch) | |
tree | e26a6a1965f37cf44821723ffa813e4511abc968 /py/malloc.c | |
parent | 545b94a8f50ee8a708d387563a4a400e11ba1aff (diff) | |
download | micropython-6e79b55dc86dd443d50fe2bbf5d03456c2ae54a0.tar.gz micropython-6e79b55dc86dd443d50fe2bbf5d03456c2ae54a0.zip |
py/malloc: Fix DEBUG_print() args in m_realloc_maybe.
Signed-off-by: Ihor Nehrutsa <IhorNehrutsa@gmail.com>
Diffstat (limited to 'py/malloc.c')
-rw-r--r-- | py/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/malloc.c b/py/malloc.c index efdff75396..ddf139e386 100644 --- a/py/malloc.c +++ b/py/malloc.c @@ -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; } |