[ofa-general] [PATCH][TRIVIAL] opensm/osm_switch.h : Fixed wrong comment about return value of osm_switch_set_hops
Nicolas Morey Chaisemartin
nicolas.morey-chaisemartin at ext.bull.net
Wed Mar 4 00:58:53 PST 2009
Signed-off-by: Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin at ext.bull.net>
---
Comment might have been copied/pasted to fast from osm_switch_get_hops
opensm/include/opensm/osm_switch.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opensm/include/opensm/osm_switch.h b/opensm/include/opensm/osm_switch.h
index 3e3626b..0b15e63 100644
--- a/opensm/include/opensm/osm_switch.h
+++ b/opensm/include/opensm/osm_switch.h
@@ -297,7 +297,7 @@ osm_switch_set_hops(IN osm_switch_t * const p_sw,
* [in] value to assign to this entry.
*
* RETURN VALUES
-* Returns the hop count at the specified LID/Port intersection.
+* Returns 0 if successfull. -1 if it failed
*
* NOTES
*
--
1.6.2-rc2.GIT
More information about the general
mailing list