diff --git a/src/datasource_cache.cpp b/src/datasource_cache.cpp index 316a397c6..25150a164 100644 --- a/src/datasource_cache.cpp +++ b/src/datasource_cache.cpp @@ -164,7 +164,7 @@ namespace mapnik } else { - std::clog << "plugin" << ds_name() << ": " << lt_dlerror() << "\n" << std::endl; + std::clog << "plugin" << itr->string().c_str() << ": " << lt_dlerror() << "\n" << std::endl; } } catch (...) {}