Skip to content

Commit

Permalink
Fix two compilation errors that occur when Unix domain occurs an IPv6…
Browse files Browse the repository at this point in the history
… are enabled
  • Loading branch information
gregory-nutt committed Jan 29, 2015
1 parent f645c10 commit 8b9958b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/icmpv6/icmpv6_ping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion net/socket/sendto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8b9958b

Please sign in to comment.