From 22690bbb7635e46f14c3f40a90b602cb64cc6e28 Mon Sep 17 00:00:00 2001 From: Eonfge <33983090+Eonfge@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:50:43 +0100 Subject: [PATCH] Fix fatal error formatting Based on this patch: https://aur.archlinux.org/cgit/aur.git/tree/0002-fix-format-security-error.patch?h=gzdoom --- src/common/engine/i_net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/engine/i_net.cpp b/src/common/engine/i_net.cpp index ad106bbc4..0a67062a0 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.