We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3bace4 commit 1ffa8c4Copy full SHA for 1ffa8c4
1 file changed
src/kernel/syscalls.cpp
@@ -154,14 +154,13 @@ void panic(const char* why)
154
print_backtrace();
155
fflush(stderr);
156
SMP::global_unlock();
157
-
158
// call custom on panic handler
159
if (panic_handler) panic_handler();
160
161
if (SMP::cpu_id() == 0) {
162
SMP::global_lock();
163
// Signal End-Of-Transmission
164
- fprintf(stderr, "\x04"); fflush(stderr);
+ kprint("\x04");
165
166
}
167
0 commit comments