From cde192cdb38b16c5b9fbd2fd0a03967eb99a39c8 Mon Sep 17 00:00:00 2001 From: DH Date: Mon, 30 Oct 2023 22:01:14 +0300 Subject: [PATCH] [orbis-kernel] relocation: reduce log spam --- orbis-kernel/src/module.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/orbis-kernel/src/module.cpp b/orbis-kernel/src/module.cpp index a3f532281..0bb103bf4 100644 --- a/orbis-kernel/src/module.cpp +++ b/orbis-kernel/src/module.cpp @@ -203,12 +203,12 @@ static orbis::SysResult doRelocation(orbis::Process *process, auto &defModule = module->importedModules.at(symbol.moduleIndex); if (!defModule) { - std::printf("'%s' ('%s') uses undefined symbol '%llx' in unloaded module " - "'%s', rel %u\n", - module->moduleName, module->soName, - (unsigned long long)symbol.id, - module->neededModules.at(symbol.moduleIndex).name.c_str(), - rel.relType); + // std::printf("'%s' ('%s') uses undefined symbol '%llx' in unloaded module " + // "'%s', rel %u\n", + // module->moduleName, module->soName, + // (unsigned long long)symbol.id, + // module->neededModules.at(symbol.moduleIndex).name.c_str(), + // rel.relType); return {}; }