diff --git a/core/metacling/src/TCling.cxx b/core/metacling/src/TCling.cxx
index 2303e5af9e80461985ae315a341eb4f1c17d9edc..9d4379661e87740d00d949e28842318d6da7d74b 100644
--- a/core/metacling/src/TCling.cxx
+++ b/core/metacling/src/TCling.cxx
@@ -6061,7 +6061,7 @@ static bool LookupNormalSymbols(llvm::object::ObjectFile *RealSoFile, const std:
 
       llvm::Expected<StringRef> SymNameErr = S.getName();
       if (!SymNameErr) {
-         Warning("LazyFunctionCreatorAutoloadForModule", "Failed to read symbol");
+         Warning("LookupNormalSymbols", "Failed to read symbol");
          continue;
       }