summaryrefslogtreecommitdiff
path: root/app-misc/cdargs/files/cdargs-1.35-format_security.patch
blob: 525ad2434651ca127b89fa62fe320225f4f2a6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);
 }