diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2022-05-30 12:08:31 +0200 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2022-05-31 13:40:35 +0000 |
commit | 7151e0ed1511e3e665c70ea7fd3769daf7654fa8 (patch) | |
tree | e46c63cfea8f77238743325c9bd3d8684e38b7c8 /src/arch | |
parent | 2a13a5487f31bd690cc5cba01657b47f169e8364 (diff) |
x86/null_breakpoint: Remove trailing space from log message
Currently, the log message contains an unwanted trailing space, so
remove it.
[ERROR] Null dereference at eip: 0x3ffad01a
Change-Id: I64509ca4bad94c7db4279cc4c1e6fee2bba2e035
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64799
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/null_breakpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/null_breakpoint.c b/src/arch/x86/null_breakpoint.c index dbb54aee2a..4da6d87ab1 100644 --- a/src/arch/x86/null_breakpoint.c +++ b/src/arch/x86/null_breakpoint.c @@ -17,9 +17,9 @@ static int handle_fetch_breakpoint(struct breakpoint_handle handle, struct eregs static int handle_deref_breakpoint(struct breakpoint_handle handle, struct eregs *regs) { #if ENV_X86_64 - printk(BIOS_ERR, "Null dereference at rip: 0x%llx \n", regs->rip); + printk(BIOS_ERR, "Null dereference at rip: 0x%llx\n", regs->rip); #else - printk(BIOS_ERR, "Null dereference at eip: 0x%x \n", regs->eip); + printk(BIOS_ERR, "Null dereference at eip: 0x%x\n", regs->eip); #endif return CONFIG(DEBUG_NULL_DEREF_HALT); } |