diff options
author | David <dbphillipsnz@gmail.com> | 2013-11-11 21:48:59 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-03-27 20:32:48 +1300 |
commit | f5bbf7cf9bd1eff316fd5b2d2ed71abbb49a7ecd (patch) | |
tree | f9af4cbe30519be76851e5114c14d6a958a07263 /kernel.c | |
parent | b707eed2ccab33aa5c008a84d4a74788b4b2e52d (diff) | |
download | toast-f5bbf7cf9bd1eff316fd5b2d2ed71abbb49a7ecd.tar.xz |
Fixed console_print()/printf() issue
Diffstat (limited to 'kernel.c')
-rw-r--r-- | kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ void kernel_main(multiboot_info_t *mbd, unsigned int magic) console_print("%s: 0x%x to 0x%x = %d bytes\n", mmap->type == 1? "AVAILABLE" : "RESERVED ", mmap->addr, - mmap->addr+mmap->len-1, + mmap->addr + mmap->len-1, mmap->len ); } |