Message ID | 1420486090.21271.76.camel@auk59.llnl.gov (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hal Rosenstock |
Headers | show |
On 1/5/2015 2:28 PM, Albert Chu wrote:
> Signed-off-by: Albert L. Chu <chu11@llnl.gov>
Thanks. Applied.
-- Hal
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index d577a69..ba760ff 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -2926,10 +2926,10 @@ void osm_subn_output_conf(FILE *out, IN osm_subn_opt_t * p_opts) fprintf(out, "%u:%u", p_opts->cc_cct.entries[0].shift, p_opts->cc_cct.entries[0].multiplier); - for (i = 0; i < p_opts->cc_cct.entries_len; i++) { + for (i = 1; i < p_opts->cc_cct.entries_len; i++) { fprintf(out, ",%u:%u", - p_opts->cc_cct.entries[0].shift, - p_opts->cc_cct.entries[0].multiplier); + p_opts->cc_cct.entries[i].shift, + p_opts->cc_cct.entries[i].multiplier); } fprintf(out, "\n"); }
Signed-off-by: Albert L. Chu <chu11@llnl.gov> --- opensm/osm_subnet.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)