aboutsummaryrefslogtreecommitdiff
path: root/kernel.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2013-11-11 21:48:59 +1300
committerDavid <dbphillipsnz@gmail.com>2014-03-27 20:32:48 +1300
commitf5bbf7cf9bd1eff316fd5b2d2ed71abbb49a7ecd (patch)
treef9af4cbe30519be76851e5114c14d6a958a07263 /kernel.c
parentb707eed2ccab33aa5c008a84d4a74788b4b2e52d (diff)
downloadtoast-f5bbf7cf9bd1eff316fd5b2d2ed71abbb49a7ecd.tar.xz
Fixed console_print()/printf() issue
Diffstat (limited to 'kernel.c')
-rw-r--r--kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.c b/kernel.c
index bb54c18..dec3e57 100644
--- a/kernel.c
+++ b/kernel.c
@@ -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
);
}