From 5b50d784d7b4d2cd305e08dd8c4cf216e2e79d9b Mon Sep 17 00:00:00 2001 From: tomcw Date: Sun, 3 Apr 2022 19:31:42 +0100 Subject: [PATCH] Fix for previous commit 05a17d9 - pass a c-string --- source/DiskFormatTrack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/DiskFormatTrack.cpp b/source/DiskFormatTrack.cpp index f88cfff1..bbcb368c 100644 --- a/source/DiskFormatTrack.cpp +++ b/source/DiskFormatTrack.cpp @@ -273,7 +273,7 @@ void FormatTrack::DecodeLatchNibble(BYTE floppylatch, bool bIsWrite, bool bIsSyn addrPrologue, m_VolTrkSecChk[0], m_VolTrkSecChk[1], m_VolTrkSecChk[2], m_VolTrkSecChk[3], chk?"":"(bad)"); if (!m_bSuppressReadD5AAxxDetected) { - LOG_DISK("%s\r\n", m_strReadD5AAxxDetected); + LOG_DISK("%s\r\n", m_strReadD5AAxxDetected.c_str()); } } #endif