From 1095186c0c269968b701b9a3bc3cbc5f155ffc5f Mon Sep 17 00:00:00 2001 From: Andrea Date: Fri, 24 Jun 2022 23:00:31 +0200 Subject: [PATCH] Fix printf warning. (PR #1118) --- source/Disk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Disk.cpp b/source/Disk.cpp index b06a2a5a..6adc246f 100644 --- a/source/Disk.cpp +++ b/source/Disk.cpp @@ -521,8 +521,8 @@ void __stdcall Disk2InterfaceCard::ControlStepper(WORD, WORD address, BYTE, BYTE { // take no action - can't find any titles that ever do this! const std::string msg = "Disk: ControlStepper() - adjacent magnets turned on\n"; - LogOutput(msg.c_str()); - LogFileOutput(msg.c_str()); + LogOutput("%s", msg.c_str()); + LogFileOutput("%s", msg.c_str()); } }