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-01 16:01:02 +00:00
parent 9aff6c435b
commit 5f6add8289

View file

@ -52,10 +52,10 @@ void print_multiboot_info(struct KernelMQ_Multiboot_Info info)
} }
for ( for (
struct multiboot_tag *tag = (struct multiboot_tag *) (info.addr + 8); struct multiboot_tag *tag = (struct multiboot_tag*)(info.addr + sizeof(struct KernelMQ_Multiboot_Info));
tag->type != MULTIBOOT_TAG_TYPE_END; tag->type != MULTIBOOT_TAG_TYPE_END;
tag = (struct multiboot_tag *) ((unsigned char *) tag + ((tag->size + 7) & ~7))) tag = (struct multiboot_tag*)((unsigned char*)tag + ((tag->size + 7) & ~7))
{ ) {
switch (tag->type) switch (tag->type)
{ {
case MULTIBOOT_TAG_TYPE_CMDLINE: case MULTIBOOT_TAG_TYPE_CMDLINE: