diff --git a/src/common/cd_image_memory.cpp b/src/common/cd_image_memory.cpp index 57711f2ee..1f8c281c5 100644 --- a/src/common/cd_image_memory.cpp +++ b/src/common/cd_image_memory.cpp @@ -81,7 +81,7 @@ bool CDImageMemory::CopyImage(CDImage* image, ProgressCallback* progress) { if (!image->ReadSectorFromIndex(memory_ptr, index, lba)) { - Log_ErrorPrintf("Failed to read LBA %u in index %u", lba, index); + Log_ErrorPrintf("Failed to read LBA %u in index %u", lba, i); return false; }