Skip to content

Commit

Permalink
Merge pull request #321 from fixstars/fix/log-in-dynamic_module
Browse files Browse the repository at this point in the history
Fix/typo in dynamic_module.h
  • Loading branch information
xinyuli1204 authored Aug 30, 2024
2 parents b403a8b + ace5142 commit d7b52e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dynamic_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class DynamicModule {
// failed to load symbol gloablly, load it explicitly
handle_ = LoadLibraryA(target_.c_str());
if (handle_ != nullptr) {
log::info("Lazy loading library {}", target_, getErrorString());
log::info("Lazy loading library {}", target_);
} else {
if (essential_) {
throw std::runtime_error(getErrorString());
Expand All @@ -131,7 +131,7 @@ class DynamicModule {
} else {
handle_ = dlopen(target_.c_str(), RTLD_NOW);
if (handle_ != nullptr) {
log::info("Lazy loading library {}", target_, getErrorString());
log::info("Lazy loading library {}", target_);
} else {
if (essential_) {
throw std::runtime_error(getErrorString());
Expand Down

0 comments on commit d7b52e8

Please sign in to comment.