diff mbox

opensm/osm_helper.c: fix compiler warning

Message ID 20091001171700.GU17846@me (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Sasha Khapyorsky Oct. 1, 2009, 5:17 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index 35da131..ea9e21f 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 = { 0 };
+const ib_gid_t ib_zero_gid = { { 0 } };
 
 /**********************************************************************
  **********************************************************************/