Loading
blobcli: Improve error check of input parsing by spdk_strtol
It looks that each call of atoi expects atoi returns negative for any error. spdk_strtol will satisfy this requirement. Change-Id: Ic21817499ed280ef4b26809ab311f337c2636470 Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/441627 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>