This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b07671a5106773bc75aaa4f85a40f42868953816 Author: Yongrong Wang <[email protected]> AuthorDate: Wed Jun 18 16:06:03 2025 +0800 vsock: fix compile error in vsock Match the debug-log format specifiers to their argument types to fix the build warnings. Signed-off-by: Yongrong Wang <[email protected]> --- net/vsock/vsock_sockif.c | 2 +- net/vsock/vsock_virtio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/vsock/vsock_sockif.c b/net/vsock/vsock_sockif.c index c10b44b3844..7c30198c574 100644 --- a/net/vsock/vsock_sockif.c +++ b/net/vsock/vsock_sockif.c @@ -2013,7 +2013,7 @@ static ssize_t vsock_sendmsg(FAR struct socket *psock, if (ret < 0) { - vrterr("vsock_sendmsg: tx_credit timeout %d\n", ret); + vrterr("vsock_sendmsg: tx_credit timeout %zd\n", ret); break; } } diff --git a/net/vsock/vsock_virtio.c b/net/vsock/vsock_virtio.c index aeb588a2a2c..2a8f6279b81 100644 --- a/net/vsock/vsock_virtio.c +++ b/net/vsock/vsock_virtio.c @@ -299,7 +299,7 @@ static void vsock_virtio_rx_fill(FAR struct vsock_virtio_priv_s *priv) ret = virtqueue_add_buffer(vq, &vb, 0, 1, buf); if (ret < 0) { - vrterr("Add rx buffer %d failed, ret=%d\n", ret); + vrterr("Add rx buffer failed, ret=%d\n", ret); list_add_head(&priv->rx_buf_list, (FAR struct list_node *)buf); break; }
