vhost: fix build without unused result
authorOuyang Changchun <changchun.ouyang@intel.com>
Wed, 29 Oct 2014 06:39:38 +0000 (14:39 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Oct 2014 23:19:41 +0000 (00:19 +0100)
commitaec8283d47d4e4366b6a9096d27299c02e0a8b6d
tree5dd67cf26bdeddbd23fdf32f83be382919111d0a
parentfc52326f9403a79b9fa6a51d58a33c04d7670b19
vhost: fix build without unused result

It fixes this compilation complain: "error: ignoring return value of 'realpath',
declared with attribute warn_unused_result [-Werror=unused-result]"

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Tested-by: Jingguo Fu <jingguox.fu@intel.com>
lib/librte_vhost/virtio-net.c