From e911254e6a100a5e8615b1c7668361a80857b1a4 Mon Sep 17 00:00:00 2001 From: Narate Taerat Date: Mon, 9 Oct 2023 20:12:43 -0500 Subject: [PATCH] Fix print format warning in zap_sock --- lib/src/zap/sock/zap_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/zap/sock/zap_sock.c b/lib/src/zap/sock/zap_sock.c index 357878eeb..b7e9333dd 100644 --- a/lib/src/zap/sock/zap_sock.c +++ b/lib/src/zap/sock/zap_sock.c @@ -937,7 +937,7 @@ static int __recv_msg(struct z_sock_ep *sep) /* allow big message */ } else { if (mlen > SOCKBUF_SZ) { - DEBUG_LOG(sep, "%d ep: %p, RECV invalid message length: %u\n", + DEBUG_LOG(sep, "%ld ep: %p, RECV invalid message length: %u\n", GETTID(), sep, mlen); rc = EINVAL; from_line = __LINE__;