diff --git a/src/item_factory.cpp b/src/item_factory.cpp index 63d7ad49f4760..e5707432f8e09 100644 --- a/src/item_factory.cpp +++ b/src/item_factory.cpp @@ -1365,7 +1365,8 @@ void Item_factory::finalize_item_blacklist() const migration *parent = nullptr; for( const migration &migrant : migrate.second ) { if( m_templates.count( migrant.replace ) == 0 ) { - debugmsg( "Replacement item for migration %s does not exist", migrate.first.c_str() ); + debugmsg( "Replacement item (%s) for migration %s does not exist", migrant.replace.str(), + migrate.first.c_str() ); continue; } // The rest of this only applies to blanket migrations