From c73b34f66ec299f0b299c96836424eeebe9a8856 Mon Sep 17 00:00:00 2001 From: Stephan Hilb <stephan.hilb@mathematik.uni-stuttgart.de> Date: Tue, 30 Apr 2019 11:23:54 +0200 Subject: [PATCH] fix fprintf format string --- colortest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colortest.cpp b/colortest.cpp index 09ca9db..4616be1 100644 --- a/colortest.cpp +++ b/colortest.cpp @@ -53,7 +53,7 @@ int main(int argc, char **argv) WriteImageVerb(out, outname, verbose); } catch (CError &err) { - fprintf(stderr, err.message); + fprintf(stderr, "%s", err.message); fprintf(stderr, "\n"); exit(1); } -- GitLab