diff options
author | trldp <trldp@outlook.com> | 2017-09-10 10:58:28 +0200 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-18 08:53:43 +0200 |
commit | d749582394465ccbb24fcb742219989c69bb3e99 (patch) | |
tree | 342f03eabc3d68231e1fd3ea5f23f96872577780 /navit/maptool | |
parent | 5caa9ce4d9c674a0460f77ef1192cbda9cb76aaa (diff) | |
download | navit-d749582394465ccbb24fcb742219989c69bb3e99.tar.gz |
Fix:core:Use fprintf with string literal instead of variable.
Allows building with -Werror=format-security.
Diffstat (limited to 'navit/maptool')
-rw-r--r-- | navit/maptool/maptool.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |