From 336a00f7911c26da12dbeb9eefe0d38077938269 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Mon, 30 Apr 2018 14:47:24 +0200 Subject: plugins: dpdk: fix check which makes not sense, likely a typo Change-Id: If33854f9c32736edf571fb66cdfa759db1c9de25 Signed-off-by: Szymon Sliwa --- src/plugins/dpdk/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/dpdk') diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c index 20036f2b764..11d8cd7962b 100644 --- a/src/plugins/dpdk/buffer.c +++ b/src/plugins/dpdk/buffer.c @@ -546,7 +546,7 @@ dpdk_pool_create (vlib_main_t * vm, u8 * pool_name, u32 elt_size, break; } /* *INDENT-ON* */ - if (rv != 0 && rv != EINVAL) + if (rv != 0 && errno != EINVAL) clib_unix_warning ("ioctl(VFIO_IOMMU_MAP_DMA) pool '%s'", pool_name); } -- cgit 1.2.3-korg