diff --git a/src/device/oprom/x86emu/sys.c b/src/device/oprom/x86emu/sys.c index 538660894f..2f38ce582d 100644 --- a/src/device/oprom/x86emu/sys.c +++ b/src/device/oprom/x86emu/sys.c @@ -64,7 +64,7 @@ static u8 *mem_ptr(u32 addr, int size) u8 *retaddr = 0; if (addr > M.mem_size - size) { - DB(printf("mem_ptr: address %#x out of range!\n", addr);) + DB(printf("%s: address %#x out of range!\n", __func__, addr);) HALT_SYS(); } if (addr < 0x200) {