uuid plugin: look in smbios system table for uuid
[collectd.git] / src / uuid.c
index 5bb4472..446969a 100644 (file)
@@ -97,7 +97,7 @@ uuid_parse_dmidecode(FILE *file)
 static char *
 uuid_get_from_dmidecode(void)
 {
-    FILE *dmidecode = popen("dmidecode 2>/dev/null", "r");
+    FILE *dmidecode = popen("dmidecode -t system 2>/dev/null", "r");
     char *uuid;
 
     if (!dmidecode)