Fix offset typo

This commit is contained in:
Philipp Oppermann
2018-02-03 23:30:26 +01:00
parent eb688962a1
commit 9fc0a07453
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ pub fn _start(boot_info: &'static mut BootInfo) -> ! {
unsafe {
*vga_buffer.offset(0) = b'O';
*vga_buffer.offset(1) = 0xa; // foreground color green
*vga_buffer.offset(0) = b'K';
*vga_buffer.offset(2) = b'K';
*vga_buffer.offset(3) = 0xa; // foreground color green
}