diff mbox

opensm: Allow comma in plugin names parsing

Message ID 4D919C79.9030406@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Alex Netes
Headers show

Commit Message

Eli Dorfman March 29, 2011, 8:46 a.m. UTC
None
diff mbox

Patch

diff --git a/opensm/osm_opensm.c b/opensm/osm_opensm.c
index cb40f71..11b7158 100644
--- a/opensm/osm_opensm.c
+++ b/opensm/osm_opensm.c
@@ -324,7 +324,7 @@  static void load_plugins(osm_opensm_t *osm, const char *plugin_names)
 	char *p_names, *name, *p;
 
 	p_names = strdup(plugin_names);
-	name = strtok_r(p_names, " \t\n", &p);
+	name = strtok_r(p_names, ", \t\n", &p);
 	while (name && *name) {
 		epi = osm_epi_construct(osm, name);
 		if (!epi)