X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fhddtemp.c;fp=src%2Fhddtemp.c;h=e7b4d8a10d63aefcc153bb9757ca770ec2e1504d;hb=71bbf854d3e6f8c6d6c3582527263bb01a3a7e04;hp=1b7ed329a9a088360730abc44fd59eee356da2d5;hpb=5afde1077e3c8fc119b79caa2572cbf84dbfe5ca;p=collectd.git diff --git a/src/hddtemp.c b/src/hddtemp.c index 1b7ed329..e7b4d8a1 100644 --- a/src/hddtemp.c +++ b/src/hddtemp.c @@ -101,7 +101,7 @@ static int hddtemp_query_daemon (char *buffer, int buffer_size) struct addrinfo ai_hints = { .ai_flags = AI_ADDRCONFIG, - .ai_family = PF_UNSPEC, + .ai_family = AF_UNSPEC, .ai_protocol = IPPROTO_TCP, .ai_socktype = SOCK_STREAM };