diff options
author | Andrea Mattavelli <andreamattavelli@gmail.com> | 2016-08-04 17:00:01 +0100 |
---|---|---|
committer | Andrea Mattavelli <andreamattavelli@gmail.com> | 2016-09-26 12:14:20 +0100 |
commit | 2fdd5aa8fc01e3d5c1ff66adf03b6dbb8e427ecd (patch) | |
tree | 2aa879f4c2285644ad36df334a6fa7f1922b427f /lib/Solver/MetaSMTSolver.cpp | |
parent | 1823ab801b50e781c18cff67cb8cda0d7859519e (diff) | |
download | klee-2fdd5aa8fc01e3d5c1ff66adf03b6dbb8e427ecd.tar.gz |
Modified logging information to steer the usage of klee_message, klee_warning, and klee_error
Diffstat (limited to 'lib/Solver/MetaSMTSolver.cpp')
-rw-r--r-- | lib/Solver/MetaSMTSolver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Solver/MetaSMTSolver.cpp b/lib/Solver/MetaSMTSolver.cpp index 411c07b1..6bfd79c1 100644 --- a/lib/Solver/MetaSMTSolver.cpp +++ b/lib/Solver/MetaSMTSolver.cpp @@ -397,9 +397,9 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked( // "occasion" return a status when the process was terminated by a // signal, so test signal first. if (WIFSIGNALED(status) || !WIFEXITED(status)) { - fprintf(stderr, - "error: metaSMT did not return successfully (status = %d) \n", - WTERMSIG(status)); + klee_warning( + "error: metaSMT did not return successfully (status = %d) \n", + WTERMSIG(status)); return (SolverImpl::SOLVER_RUN_STATUS_INTERRUPTED); } |