summaryrefslogtreecommitdiffstats
path: root/cdargs-1.35_format_security.patch
blob: 3ddc550e607e9f908b891c7e3626ee256484607e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/cdargs.cc b/src/cdargs.cc
index e505e4e..1fdfeb8 100644
--- a/src/cdargs.cc
+++ b/src/cdargs.cc
@@ -1301,7 +1301,7 @@ void helpscreen(void) {
 
 void fatal_exit(char* msg) {
     endwin();
-    fprintf(stderr, msg);
+    fprintf(stderr, "%s", msg);
     exit(1);
 }