diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2021-07-14 19:49:58 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2021-07-14 19:49:58 +0000 |
commit | 2665851086795c61e799fbe57bfb37cabab3cf8c (patch) | |
tree | 33477da99f297c38a74fa5ac9681eb0f177eefc2 | |
parent | 5484e6d9cc5801e02cba1bf4b9a03ff2e75fa587 (diff) | |
download | src-2665851086795c61e799fbe57bfb37cabab3cf8c.tar.gz src-2665851086795c61e799fbe57bfb37cabab3cf8c.zip |
Remove the newline from arm64 trap panics
The panic function will already print a newline so there is no need to
add it here.
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | sys/arm64/arm64/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c index 744b646b31c8..e876fa5011c3 100644 --- a/sys/arm64/arm64/trap.c +++ b/sys/arm64/arm64/trap.c @@ -425,7 +425,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame) #ifdef KDB kdb_trap(exception, 0, frame); #else - panic("No debugger in kernel.\n"); + panic("No debugger in kernel."); #endif break; case EXCP_WATCHPT_EL1: @@ -433,7 +433,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame) #ifdef KDB kdb_trap(exception, 0, frame); #else - panic("No debugger in kernel.\n"); + panic("No debugger in kernel."); #endif break; case EXCP_UNKNOWN: @@ -443,7 +443,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame) default: print_registers(frame); printf(" far: %16lx\n", READ_SPECIALREG(far_el1)); - panic("Unknown kernel exception %x esr_el1 %lx\n", exception, + panic("Unknown kernel exception %x esr_el1 %lx", exception, esr); } } |