diff --git a/kernel/kernel.c b/kernel/kernel.c index 62296b5..f7730ed 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -20,13 +20,14 @@ static void done(void) { // The following will be our kernel's entry point. void _start(void) { // Ensure we got a terminal - if (terminal_request.response == NULL) { + if (terminal_request.response == NULL + || terminal_request.response->terminal_count < 1) { done(); } // We should now be able to call the Limine terminal to print out // a simple "Hello World" to screen. - terminal_request.response->write("Hello World", 11); + terminal_request.response->terminals[0]->write("Hello World", 11); // We're done, just hang... done();