[virt-tools-list] [PATCH 1/2] Fix "-Wno-missing-field-initializers"

Fabiano Fidêncio fabiano at fidencio.org
Fri Mar 23 12:05:56 UTC 2012


---
 tools/osinfo-query.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/osinfo-query.c b/tools/osinfo-query.c
index 9383d03..8c96b62 100644
--- a/tools/osinfo-query.c
+++ b/tools/osinfo-query.c
@@ -71,7 +71,7 @@ static struct OsinfoLabel os_labels[] = {
       "Code name", FALSE, 10 },
     { OSINFO_ENTITY_PROP_ID,
       "ID", TRUE, 40 },
-    { NULL, NULL, 0 },
+    { NULL, NULL, 0, 0},
 };
 
 static struct OsinfoLabel platform_labels[] = {
@@ -91,7 +91,7 @@ static struct OsinfoLabel platform_labels[] = {
       "Code name", FALSE, 10 },
     { OSINFO_ENTITY_PROP_ID,
       "ID", TRUE, 40 },
-    { NULL, NULL, 0 },
+    { NULL, NULL, 0, 0 },
 };
 
 static struct OsinfoLabel device_labels[] = {
@@ -111,13 +111,13 @@ static struct OsinfoLabel device_labels[] = {
       "Bus", TRUE, 8 },
     { OSINFO_ENTITY_PROP_ID,
       "ID", TRUE, 40 },
-    { NULL, NULL, 0 },
+    { NULL, NULL, 0, 0 },
 };
 
 static struct OsinfoLabel deployment_labels[] = {
     { OSINFO_ENTITY_PROP_ID,
       "ID", TRUE, 40 },
-    { NULL, NULL, 0 },
+    { NULL, NULL, 0, 0 },
 };
 
 
-- 
1.7.9.3




More information about the virt-tools-list mailing list