X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fmodules.c;h=c5e7f1bc30a92a9c6aef4a188c0d92c9b8bdacfe;hb=5e100f796b2bb499dddc4dfe5921e9972829c1ec;hp=544e86611aae8ad2e05dc5d1a90a60ac7292835c;hpb=12dead97026f98253325bb6fa90500c89f792d61;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/modules.c b/KernelLand/Kernel/modules.c index 544e8661..c5e7f1bc 100644 --- a/KernelLand/Kernel/modules.c +++ b/KernelLand/Kernel/modules.c @@ -366,7 +366,7 @@ int Module_LoadFile(const char *Path, const char *ArgString) // TODO: I need a way of relocating the dependencies before everything else, so // they can be resolved before any other link errors if( !Binary_Relocate(base) ) { - Log_Warning("Relocation of module %s failed", Path); + Log_Warning("Module", "Relocation of module %s failed", Path); Binary_Unload(base); return 0; } @@ -389,7 +389,7 @@ int Module_LoadFile(const char *Path, const char *ArgString) } if( !Module_int_ResolveDeps(info) ) { - Log_Warning("Dependencies not met for '%s'", Path); + Log_Warning("Module", "Dependencies not met for '%s'", Path); Binary_Unload(base); return 0; }