diff options
Diffstat (limited to 'ports/unix/modmachine.c')
| -rw-r--r-- | ports/unix/modmachine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/modmachine.c b/ports/unix/modmachine.c index 492b49c8e..d9952c540 100644 --- a/ports/unix/modmachine.c +++ b/ports/unix/modmachine.c @@ -49,7 +49,7 @@ uintptr_t mod_machine_mem_get_addr(mp_obj_t addr_o, uint align) { uintptr_t addr = mp_obj_int_get_truncated(addr_o); if ((addr & (align - 1)) != 0) { - mp_raise_msg_varg(&mp_type_ValueError, "address %08x is not aligned to %d bytes", addr, align); + mp_raise_msg_varg(&mp_type_ValueError, MP_ERROR_TEXT("address %08x is not aligned to %d bytes"), addr, align); } #if MICROPY_PLAT_DEV_MEM { |
