uuid plugin: look in smbios system table for uuid
[collectd.git] / src / hddtemp.c
index 1b7ed32..2b481f5 100644 (file)
@@ -30,6 +30,7 @@
  **/
 
 #include "collectd.h"
+
 #include "common.h"
 #include "plugin.h"
 #include "configfile.h"
@@ -101,7 +102,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
        };