1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00

Fix code style

This commit is contained in:
Braiden Vasco 2017-11-02 08:53:14 +00:00
parent 326f729ef9
commit 3140333cd8

View file

@ -144,9 +144,9 @@ void print_multiboot_tag_mmap(const struct multiboot_tag_mmap *const tag)
printf("Memory map:\n");
for (
multiboot_memory_map_t *mmap = ((struct multiboot_tag_mmap *) tag)->entries;
const multiboot_memory_map_t *mmap = tag->entries;
(unsigned char*)mmap < (unsigned char*)tag + tag->size;
mmap = (multiboot_memory_map_t *)((unsigned long) mmap + ((struct multiboot_tag_mmap *) tag)->entry_size)
mmap = (multiboot_memory_map_t*)((unsigned long) mmap + tag->entry_size)
) {
printf(
" base_addr = 0x%x%x, length = 0x%x%x, type = 0x%x\n",