Whamcloud - gitweb
LU-9078 lnet: Fix route hops print 50/25250/3
authorAmir Shehata <amir.shehata@intel.com>
Fri, 3 Feb 2017 20:13:00 +0000 (12:13 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Feb 2017 03:51:47 +0000 (03:51 +0000)
commit9ab8061abc989be519482888e64e90ebecb228c9
tree4fddf2529668fdbb3bdb2b86f54fc45cb6691058
parentcfa981f3bf06d602aee998e64d4758e13f48aab8
LU-9078 lnet: Fix route hops print

The default number of hops for  a route is -1. This is
currently being printed as %u. Change that to %d to
make it print out properly.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I13c416b1ff86b55d72ffa124441dc358c9cea97b
Reviewed-on: https://review.whamcloud.com/25250
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Olaf Weber <olaf@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/router_proc.c
lnet/utils/lnetconfig/liblnetconfig.c