Re: [dpdk-dev] [PATCH] vhost: print the reason on numa node obtaining failure

2017-07-06 Thread Yuanhan Liu
On Thu, Jul 06, 2017 at 04:30:43PM +0300, Ilya Maximets wrote: > syscall always returns '-1' on failure and there is no point > in printing that value. 'errno' is much more informative. > > Fixes: 586e39001317 ("vhost: export numa node") > > Signed-off-by: Ilya Maximets Applied to dpdk-next-vir

[dpdk-dev] [PATCH] vhost: print the reason on numa node obtaining failure

2017-07-06 Thread Ilya Maximets
syscall always returns '-1' on failure and there is no point in printing that value. 'errno' is much more informative. Fixes: 586e39001317 ("vhost: export numa node") Signed-off-by: Ilya Maximets --- lib/librte_vhost/vhost.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a