about summary refs log tree commit diff homepage
path: root/lib/Core
diff options
context:
space:
mode:
authorFrank Busse <bb0xfb@gmail.com>2018-04-27 16:59:24 +0100
committerMartinNowack <martin.nowack@gmail.com>2018-05-01 14:43:00 +0200
commit3d00adf56f866a802c857682b382d11972a727a1 (patch)
tree629667181881d23f8de97378a67e03ed1f96e7be /lib/Core
parent955877705da82a6d0a5bc2cc5c1e55fe8c92c040 (diff)
downloadklee-3d00adf56f866a802c857682b382d11972a727a1.tar.gz
fix compilation warning
Diffstat (limited to 'lib/Core')
-rw-r--r--lib/Core/SpecialFunctionHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Core/SpecialFunctionHandler.cpp b/lib/Core/SpecialFunctionHandler.cpp
index a8d6edec..6587c30b 100644
--- a/lib/Core/SpecialFunctionHandler.cpp
+++ b/lib/Core/SpecialFunctionHandler.cpp
@@ -357,8 +357,8 @@ void SpecialFunctionHandler::handleCloseMerge(ExecutionState &state,
 
   if (state.openMergeStack.empty()) {
     std::ostringstream warning;
-    warning << &state << " ran into a close at " << i << " without a preceding open\n";
-    klee_warning(warning.str().c_str());
+    warning << &state << " ran into a close at " << i << " without a preceding open";
+    klee_warning("%s", warning.str().c_str());
   } else {
     state.openMergeStack.back()->addClosedState(&state, i);
     state.openMergeStack.pop_back();