eal: fix option --base-virtaddr
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 19 Jun 2014 15:35:22 +0000 (16:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 Jun 2014 15:53:59 +0000 (17:53 +0200)
commitbe1816f59e772e427fc5815281f9458a9314973a
tree8de80327ad11e5dd316620f19d387204986eec06
parentacf2d1bb9f0ef5fe043da159cd2c11aec5713754
eal: fix option --base-virtaddr

When parsing EAL option --base-virtaddr
errno was not being set to 0 before calling strtoull,
therefore function might fail unnecesarily.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Aaron Campbell <aaron@arbor.net>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/linuxapp/eal/eal.c