summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-01-16 17:29:05 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-18 09:44:02 +0000
commit1bc87143a432fe9ac54ba376f1b46ab5e127b1b2 (patch)
treee5bba2cb3a21ddb88cd587b1025396cfe8f74980 /src
parent8e400f0ccaf176a9833a512d170361eb8f2b45f6 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/device/oprom/x86emu/sys.c2
1 files changed, 1 insertions, 1 deletions
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) {