diff options
Diffstat (limited to 'initd/main.c')
-rw-r--r-- | initd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/main.c b/initd/main.c index 9432042..3a824e4 100644 --- a/initd/main.c +++ b/initd/main.c @@ -51,7 +51,7 @@ retry: memset(&rq, 0, sizeof(rq)); addrlen = sizeof(addr); ret = recvfrom(sockfd, &rq, sizeof(rq), MSG_DONTWAIT | MSG_TRUNC, - &addr, &addrlen); + (struct sockaddr *)&addr, &addrlen); if (ret < 0 && errno == EINTR) goto retry; |