From: Anatoly Burakov Date: Thu, 21 Dec 2017 18:19:42 +0000 (+0000) Subject: test/memzone: fix typo X-Git-Tag: spdx-start~238 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8ceee8e7dea1fb07f9ccf6a037d0571fea328afc;p=dpdk.git test/memzone: fix typo Fixes: 71330483a193 ("test/memzone: fix memory leak") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov Reviewed-by: Radoslaw Biernacki --- diff --git a/test/test/test_memzone.c b/test/test/test_memzone.c index 6e8097777b..68c20dca07 100644 --- a/test/test/test_memzone.c +++ b/test/test/test_memzone.c @@ -919,11 +919,11 @@ test_memzone_basic(void) return 0; } -static int memzone_calk_called; +static int memzone_walk_called; static void memzone_walk_clb(const struct rte_memzone *mz __rte_unused, void *arg __rte_unused) { - memzone_calk_called = 1; + memzone_walk_called = 1; } static int @@ -967,7 +967,7 @@ test_memzone(void) printf("check memzone cleanup\n"); rte_memzone_walk(memzone_walk_clb, NULL); - if (memzone_calk_called) { + if (memzone_walk_called) { printf("there are some memzones left after test\n"); rte_memzone_dump(stdout); return -1;