From 518ac534580c129289f099e9e124c5c72e98e0f2 Mon Sep 17 00:00:00 2001 From: Ben Hillis Date: Fri, 17 Apr 2026 08:48:16 -0600 Subject: [PATCH] fix: use {} format specifier instead of %s in Linux LOG_ERROR path 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: Copilot <223556219+Copilot@users.noreply.github.com> --- src/shared/inc/SocketChannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/inc/SocketChannel.h b/src/shared/inc/SocketChannel.h index 154d3148f..c14147254 100644 --- a/src/shared/inc/SocketChannel.h +++ b/src/shared/inc/SocketChannel.h @@ -342,7 +342,7 @@ class SocketChannel LOG_ERROR( "Protocol error: Received message size: {}, type: {}, sequence: {}. Expected type: {}, expected sequence: {}, " - "channel: %s", + "channel: {}", header.MessageSize, header.MessageType, header.SequenceNumber,