From 03256b4b023761ba0301016785d19a2170da27b0 Mon Sep 17 00:00:00 2001 From: SubmarinePhantom Date: Fri, 13 Sep 2024 10:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=AE=9A=E4=BD=8D=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: SubmarinePhantom --- frameworks/js/napi/socket/socket_exec/src/socket_exec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/js/napi/socket/socket_exec/src/socket_exec.cpp b/frameworks/js/napi/socket/socket_exec/src/socket_exec.cpp index 34d03c40..edd25708 100644 --- a/frameworks/js/napi/socket/socket_exec/src/socket_exec.cpp +++ b/frameworks/js/napi/socket/socket_exec/src/socket_exec.cpp @@ -843,7 +843,7 @@ static bool NonBlockConnect(int sock, sockaddr *addr, socklen_t addrLen, uint32_ return false; } if (err != 0) { - NETSTACK_LOGE("NonBlockConnect exec failed, socket is %{public}d, errno is %{public}d", sock, errno); + NETSTACK_LOGE("NonBlockConnect exec failed, socket is %{public}d, err is %{public}d", sock, err); return false; } return true;