mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-26 09:35:23 +00:00
sockets: fix printf warning in gcc
This commit is contained in:
parent
2c77560870
commit
1b14c2e7b0
@ -1103,7 +1103,7 @@ lwip_recvmsg(int s, struct msghdr *message, int flags)
|
|||||||
struct lwip_sock *sock;
|
struct lwip_sock *sock;
|
||||||
int recv_flags = flags;
|
int recv_flags = flags;
|
||||||
|
|
||||||
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvmsg(%d, message=%p, flags=0x%x)\n", s, message, flags));
|
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvmsg(%d, message=%p, flags=0x%x)\n", s, (void*)message, flags));
|
||||||
LWIP_ERROR("lwip_recvmsg: invalid message pointer", message != NULL, return ERR_ARG;);
|
LWIP_ERROR("lwip_recvmsg: invalid message pointer", message != NULL, return ERR_ARG;);
|
||||||
LWIP_ERROR("lwip_recvmsg: unsupported flags", ((flags == 0) || (flags == MSG_PEEK)),
|
LWIP_ERROR("lwip_recvmsg: unsupported flags", ((flags == 0) || (flags == MSG_PEEK)),
|
||||||
set_errno(EOPNOTSUPP); return -1;);
|
set_errno(EOPNOTSUPP); return -1;);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user