Commit fb3b1e753d527faa08f863a55f7f8392fb01f2ed switched the call
to ibdatacounts with ibcheckerrs which breaks the point of the script,
put it back.

Signed-off-by: Jason Gunthorpe <jguntho...@obsidianresearch.com>
---
 scripts/ibdatacounters.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ibdatacounters.in b/scripts/ibdatacounters.in
index 1abaaf2..8fad62e 100644
--- a/scripts/ibdatacounters.in
+++ b/scripts/ibdatacounters.in
@@ -85,7 +85,7 @@ function check_node(lid, port)
                print "\n# " ntype ": nodeguid 0x" nodeguid " failed"
                return 1;
        }
-       return system("'$IBPATH'/ibcheckerrs '"$ca_info"' '$gflags' '$verbose' 
'$brief' " lid " " port);
+       return system("'$IBPATH'/ibdatacounts '"$ca_info"' '$gflags' '$verbose' 
'$brief' " lid " " port);
 }
 
 /^Ca/ || /^Switch/ || /^Rt/ {
-- 
1.7.1

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

Reply via email to