diff --git a/DDG4/src/Geant4InputAction.cpp b/DDG4/src/Geant4InputAction.cpp index 6dcf9044a66177a0dd1656aa62693017e5aeb6a0..c607d8d8174ca0f37d5e0fa16a14181cb5b81a4a 100644 --- a/DDG4/src/Geant4InputAction.cpp +++ b/DDG4/src/Geant4InputAction.cpp @@ -40,7 +40,7 @@ Geant4EventReader::~Geant4EventReader() { /// Get the context (from the input action) Geant4Context* Geant4EventReader::context() const { if( 0 == m_inputAction ) { - printout(FATAL,"Geant4EventReader: %s", "No input action registered!"); + printout(FATAL,"Geant4EventReader", "No input action registered!"); throw std::runtime_error("Geant4EventReader: No input action registered!"); } return m_inputAction->context();