Whamcloud - gitweb
LU-8064 lctl: fix a typo in lustre_cfg.c 59/19759/3
authorEmoly Liu <emoly.liu@intel.com>
Mon, 25 Apr 2016 07:41:40 +0000 (15:41 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 3 May 2016 00:00:19 +0000 (00:00 +0000)
commita8edb3eddf00bd0e030fa07f4ac387b3bc9de093
treefc6a4e3901176495960cb083e7b6a4978adf11f4
parentd2a310d698df167ccb41c1ae0ac24d4ef9846f45
LU-8064 lctl: fix a typo in lustre_cfg.c

When checking overflow issue in param_dispaly(), we should use rc2
not rc, because rc2 is the return value of pathname string size.

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I35820b00c7a4e264444e5574967d56c54b4a469b
Reviewed-on: http://review.whamcloud.com/19759
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lustre_cfg.c