device/oprom/x86emu/sys.c: Use __func__

Change-Id: Ia278e1f2d1162fa9541bf0cead3b2734144190be
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49543
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Elyes HAOUAS 2021-01-16 17:29:05 +01:00 committed by Patrick Georgi
parent 8e400f0cca
commit 1bc87143a4

View file

@ -64,7 +64,7 @@ static u8 *mem_ptr(u32 addr, int size)
u8 *retaddr = 0; u8 *retaddr = 0;
if (addr > M.mem_size - size) { 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(); HALT_SYS();
} }
if (addr < 0x200) { if (addr < 0x200) {