]> git.droids-corp.org - dpdk.git/commit
test/mem: fix error check
authorJie Zhou <jizh@linux.microsoft.com>
Wed, 26 Jan 2022 05:10:36 +0000 (21:10 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Feb 2022 13:19:40 +0000 (14:19 +0100)
commit068cdfae1fc19a491fc68723997ca89a92501736
tree6ede6e89546a54415ae8ded0d17208d931699dd9
parent987d40a0576006a2496433aea75c1f2bffa72c93
test/mem: fix error check

Fix incorrect errno variable used in memory autotest.
Use rte_errno instead.

Fixes: 086d426406bd ("test/mem: fix memory autotests on FreeBSD")
Cc: stable@dpdk.org
Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
app/test/test_memory.c