X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fmodules.c;h=c5e7f1bc30a92a9c6aef4a188c0d92c9b8bdacfe;hb=e9406092ff4b38cc548c7ade1f18329247016b36;hp=dd8a3ae1f0ab6a1926694d64f1fefc847773539b;hpb=d8b31df1121ff75fe218f83574eb600c47f8d2d5;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/modules.c b/KernelLand/Kernel/modules.c index dd8a3ae1..c5e7f1bc 100644 --- a/KernelLand/Kernel/modules.c +++ b/KernelLand/Kernel/modules.c @@ -178,7 +178,7 @@ int Module_int_Initialise(tModule *Module, const char *ArgString) Log_Warning("Module", "Unable to load, reason: Miscelanious"); break; case MODULE_ERR_NOTNEEDED: - Log_Debug("Module", "Unable to load, reason: Module not needed"); +// Log_Debug("Module", "Unable to load, reason: Module not needed"); break; case MODULE_ERR_MALLOC: Log_Warning("Module", "Unable to load, reason: Error in malloc/realloc/calloc, probably not good"); @@ -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; }