]> granicus.if.org Git - strace/commit
tests: pass index to print_elem_ callback in TEST_NLATTR_NESTED_ARRAY
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 25 May 2018 03:08:04 +0000 (05:08 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 6 Jun 2018 15:10:37 +0000 (15:10 +0000)
commitce3bddf6c41d543f5f6b86310a5aaefc4b9c891a
tree8dbae731f63acb4b86c45dc90e87f9bccc89484c
parente62b6a5e929cbefef0f6ef20ab3f00671b139c65
tests: pass index to print_elem_ callback in TEST_NLATTR_NESTED_ARRAY

* tests/test_nlattr.h (TEST_NLATTR_NESTED_ARRAY): Pass array index
to the print_elem_ callback.
* tests/nlattr_tca_stab.c (print_uint16): Add index argument.
tests/nlattr_tca_stab.c
tests/test_nlattr.h