eal: fix argument parsing check
eal: fix argument parsing check

This patch fixes wrong error checking of rte_eal_parse_devargs_str().
Currently, a return value of strdup() is wrongly checked.

Fixes: 0fe11ec592b2 ("eal: add vdev init and uninit")

Signed-off-by: Tetsuya Mukawa <b347a9f5840345582b30d055e1e99ac6ac7bce3c@igel.co.jp>
Acked-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@6wind.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk