From 7151e0ed1511e3e665c70ea7fd3769daf7654fa8 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 30 May 2022 12:08:31 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64799 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/arch/x86/null_breakpoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/null_breakpoint.c') 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); } -- cgit v1.2.3