From 4de2bab3d6b4ad32f8410a1ee84d3574ff078d7b Mon Sep 17 00:00:00 2001
From: Ete Remi <remi.ete@gmail.com>
Date: Tue, 27 Feb 2018 16:57:19 +0100
Subject: [PATCH] Fixed wrong printout in Geant4EventReader

---
 DDG4/src/Geant4InputAction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDG4/src/Geant4InputAction.cpp b/DDG4/src/Geant4InputAction.cpp
index 6dcf9044a..c607d8d81 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();
-- 
GitLab