From d749582394465ccbb24fcb742219989c69bb3e99 Mon Sep 17 00:00:00 2001 From: trldp Date: Sun, 10 Sep 2017 10:58:28 +0200 Subject: Fix:core:Use fprintf with string literal instead of variable. Allows building with -Werror=format-security. --- navit/maptool/maptool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index 311b1f940..729eebfa0 100644 --- a/navit/maptool/maptool.c +++ b/navit/maptool/maptool.c @@ -552,7 +552,7 @@ start_phase(struct maptool_params *p, char *str) static void exit_with_error(char* error_message) { - fprintf(stderr, error_message); + fprintf(stderr, "%s", error_message); exit(1); } -- cgit v1.2.1