Skip to content

Commit

Permalink
Fix build with -DNETSYSCALL_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Khon authored and mkhon committed May 28, 2019
1 parent 5593119 commit 72d3106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/netsyscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ sysreturn getsockopt(int sockfd, int level, int optname, void *optval, socklen_t
{
sock s = resolve_fd(current->p, sockfd);
net_debug("sock %d, type %d, thread %ld, level %d, optname %d\n, optlen %d\n",
s->fd, s->type, current->tid, level, optname, optlen ? *optlen : -1)
s->fd, s->type, current->tid, level, optname, optlen ? *optlen : -1);

union {
int val;
Expand Down

0 comments on commit 72d3106

Please sign in to comment.