Rename rterr to rtprintpanic

This commit is contained in:
Christiaan Dirkx
2021-05-06 14:03:50 +02:00
parent 6145051eee
commit 4ff5ab5296
5 changed files with 12 additions and 11 deletions

View File

@@ -102,7 +102,7 @@ mod imp {
// If the faulting address is within the guard page, then we print a
// message saying so and abort.
if guard.start <= addr && addr < guard.end {
rterr!(
rtprintpanic!(
"\nthread '{}' has overflowed its stack\n",
thread::current().name().unwrap_or("<unknown>")
);