[ewg] [OPENSM] osm_helper.c use explicit value for struct init

Stan C. Smith stan.smith at intel.com
Tue Sep 29 09:44:16 PDT 2009


Signed-off-by Stan Smith (stan.smith at intel.com)

diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index 4b4e320..35da131 100644
--- a/opensm/opensm/osm_helper.c
+++ b/opensm/opensm/osm_helper.c
@@ -548,7 +548,7 @@ const char *ib_get_trap_str(ib_net16_t trap_num)
 	return "Unknown";
 }
 
-const ib_gid_t ib_zero_gid = { };
+const ib_gid_t ib_zero_gid = { 0 };
 
 /**********************************************************************
  **********************************************************************/




More information about the ewg mailing list