app/crypto-perf: fix uninitialized errno value
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 5 Sep 2017 06:17:01 +0000 (11:47 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 07:21:24 +0000 (08:21 +0100)
commit5c49049dd9d265f9a2086020ec7c34d3bce3c037
tree0f27dc4336d01b6e068c746d5da5bf7a6fd19e9a
parent455446276493a68117f738b2b778f2791751a2a7
app/crypto-perf: fix uninitialized errno value

errno should be initialized to 0 before calling strtol

Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
app/test-crypto-perf/cperf_options_parsing.c