!1560 问题定位日志整改

Merge pull request !1560 from Aurora/master
This commit is contained in:
openharmony_ci 2024-09-13 03:56:41 +00:00 committed by Gitee
commit 7bd58d823b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;