event/sw: fix log in self test

The log should display the value, not the ID.

Fixes: e21df4b062 ("test/eventdev: add SW xstats tests")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
This commit is contained in:
Olivier Matz 2022-10-19 19:06:46 +05:30 committed by Jerin Jacob
parent ab059e82e1
commit 05d22d4e06

View File

@ -1640,7 +1640,7 @@ xstats_id_reset_tests(struct test *t)
if (val != port_expected[i]) {
printf("%d: %s value incorrect, expected %" PRIu64
" got %" PRIu64 "\n",
__LINE__, port_names[i], port_expected[i], id);
__LINE__, port_names[i], port_expected[i], val);
failed = 1;
}
/* reset to zero */