Signed-off-by: Ira Weiny <[email protected]>
---
 opensm/osm_perfmgr_db.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opensm/osm_perfmgr_db.c b/opensm/osm_perfmgr_db.c
index ab6c978..116bb07 100644
--- a/opensm/osm_perfmgr_db.c
+++ b/opensm/osm_perfmgr_db.c
@@ -869,6 +869,9 @@ static void dump_node_hr(db_node_t * node, FILE * fp, char 
*port, int err_only)
                        fprintf(fp, "     vl15_dropped         : %" PRIu64 "\n",
                                err->vl15_dropped);
 
+               if (err_only)
+                       continue;
+
                fprintf(fp, "     Last Data Update     : %s\n",
                        last_data_update);
                fprintf(fp, "     xmit_data            : %" PRIu64,
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to