summarylogtreecommitdiffstats
path: root/0002-fix-format-security-error.patch
blob: 4252f8f7d8a4da86aa263dde2be3b1c945cd83fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/common/engine/i_net.cpp b/src/common/engine/i_net.cpp
index ad106bbc4a..0e587dd90f 100644
--- a/src/common/engine/i_net.cpp
+++ b/src/common/engine/i_net.cpp
@@ -1072,7 +1072,7 @@ void I_NetError(const char* error)
 {
 	doomcom.numnodes = 0;
 	StartWindow->NetClose();
-	I_FatalError(error);
+	I_FatalError("%s", error);
 }
 
 // todo: later these must be dispatched by the main menu, not the start screen.