eal/linux: check fscanf return when parsing modules list
authorTomasz Kulasek <tomaszx.kulasek@intel.com>
Fri, 16 Jan 2015 14:27:52 +0000 (15:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 16 Jan 2015 16:35:40 +0000 (17:35 +0100)
commitb4f60f55570468619100552b4e1fa96e337826f6
tree79f7c0d7c86d0319dd539f6ee39a299ed0a30097
parent01e66999efcb62efd5ed649045845f763e8b6379
eal/linux: check fscanf return when parsing modules list

The lack of result checking of fscanf function, breaks compilation
for default "-Werror=unused-result" flag.

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_eal/linuxapp/eal/eal.c