ib-diags: fix portnum being off by 1
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 3 Mar 2009 21:17:59 +0000 (21:17 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 3 Mar 2009 21:17:59 +0000 (21:17 +0000)
commit2d4a7ddb0f4e9d1a95944239cd83e945465e0c19
treef229b2c2a66d3feb7b901a0483ea8f225d9bdef2
parentc761a8d8299a71b3326dc35262b3c68c26b16e67
ib-diags: fix portnum being off by 1

Relevent fix has been submitted upstream, but apply this to svn until ib-diags are updated.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2009 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
tools/infiniband-diags/src/ibstat.c