Fix two compilation errors that occur when Unix domain occurs an IPv6 are enabled
This commit is contained in:
parent
f645c10f40
commit
8b9958b7ba
@ -275,7 +275,7 @@ static uint16_t ping_interrupt(FAR struct net_driver_s *dev, FAR void *conn,
|
||||
FAR struct icmpv6_echo_reply_s *reply = ICMPv6ECHOREPLY;
|
||||
|
||||
nllvdbg("ECHO reply: id=%d seqno=%d\n",
|
||||
ntohs(reply->id), reply(reply->seqno));
|
||||
ntohs(reply->id), ntohs(reply->seqno));
|
||||
|
||||
if (ntohs(reply->id) == pstate->png_id)
|
||||
{
|
||||
|
@ -226,7 +226,7 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf,
|
||||
|
||||
if (nsent < 0)
|
||||
{
|
||||
ndbg("ERROR: Unix domain sendto() failed: %d\n", ret);
|
||||
ndbg("ERROR: Unix domain sendto() failed: %ld\n", (long)nsent);
|
||||
err = -nsent;
|
||||
goto errout;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user