diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-11-02 11:48:01 +0000 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-11-07 13:28:25 +0000 |
commit | b49891900fe34a4d584c84fb33c9a71eacd2b767 (patch) | |
tree | 53f77d0f64bd00b87cd8f66e81ce295cb687e29d | |
parent | 4bbcda1a6467863ff6585b09f2b289198a8637dc (diff) | |
download | klee-b49891900fe34a4d584c84fb33c9a71eacd2b767.tar.gz |
Fix bug which resulted in an incorrect warning to be printed.
-rw-r--r-- | lib/Core/Executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 0dac7abe..e4f9388e 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -1118,7 +1118,7 @@ Executor::toConstant(ExecutionState &state, << (*(state.pc)).info->line << ")"; if (AllExternalWarnings) - klee_warning(reason, os.str().c_str()); + klee_warning("%s", os.str().c_str()); else klee_warning_once(reason, "%s", os.str().c_str()); |