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>
This commit is contained in:
parent
2a13a5487f
commit
7151e0ed15
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue