fix: use {} format specifier instead of %s in Linux LOG_ERROR path (#40227)

The Linux #else branch of SocketChannel.h uses LOG_ERROR which expects fmt-style {} placeholders, but the channel name was using printf-style %s. Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Ben Hillis committed Apr 17, 2026 at 13:08 UTC 9c627f16b6259bc180c2eaa29d6aa2d8db92b79d
1 file changed +1 -1
src/shared/inc/SocketChannel.h
+1 -1
@@ -342,7 +342,7 @@ private:
342
343 LOG_ERROR(
344 "Protocol error: Received message size: {}, type: {}, sequence: {}. Expected type: {}, expected sequence: {}, "
345 - "channel: %s",
345 + "channel: {}",
346 header.MessageSize,
347 header.MessageType,
348 header.SequenceNumber,