From 1bc87143a432fe9ac54ba376f1b46ab5e127b1b2 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 16 Jan 2021 17:29:05 +0100 Subject: device/oprom/x86emu/sys.c: Use __func__ Change-Id: Ia278e1f2d1162fa9541bf0cead3b2734144190be Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/49543 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/device/oprom/x86emu/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device') 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) { -- cgit v1.2.3