From 175db2522e75563c7f98e19e1dedbf211acb0321 Mon Sep 17 00:00:00 2001 From: Karamel Date: Thu, 22 Feb 2024 22:29:21 +0100 Subject: [PATCH] Fix format string error --- src/multiint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/multiint.cpp b/src/multiint.cpp index 78dcf166222..cab9a159b01 100644 --- a/src/multiint.cpp +++ b/src/multiint.cpp @@ -7686,7 +7686,7 @@ static void printHostHelpMessagesToConsole() char buf[512] = { '\0' }; if (!motd.isEmpty()) { - ssprintf(buf, motd.toUtf8().c_str()); + ssprintf(buf, "%s", motd.toUtf8().c_str()); displayRoomNotifyMessage(buf); } if (challengeActive)