* [PATCH] opensm: Allow comma in plugin names parsing
@ 2011-03-29 8:46 Eli Dorfman
[not found] ` <4D919C79.9030406-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Eli Dorfman @ 2011-03-29 8:46 UTC (permalink / raw)
To: Alex Netes; +Cc: linux-rdma
Subject: [PATCH] Allow comma in plugin names parsing
Signed-off-by: Eli Dorfman <elido-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
opensm/osm_opensm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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)
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-01 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 8:46 [PATCH] opensm: Allow comma in plugin names parsing Eli Dorfman
[not found] ` <4D919C79.9030406-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-04-01 10:24 ` Alex Netes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox