diff --git a/test/drivers/test_suites/generic_tracepoints_suite/security_file_mprotect.cpp b/test/drivers/test_suites/generic_tracepoints_suite/security_file_mprotect.cpp index 08282cf354..8d6d663df1 100644 --- a/test/drivers/test_suites/generic_tracepoints_suite/security_file_mprotect.cpp +++ b/test/drivers/test_suites/generic_tracepoints_suite/security_file_mprotect.cpp @@ -46,19 +46,16 @@ TEST(GenericTracepoints, security_file_mprotect) /* Please note here we cannot assert all the params, we check only the possible ones. */ - /* Parameter 1: res (type: PT_ERRNO)*/ - evt_test->assert_numeric_param(1, (int64_t)0); - - /* Parameter 2: addr_start (type: PT_UINT64) */ + /* Parameter 1: addr_start (type: PT_UINT64) */ evt_test->assert_only_param_len(2, sizeof(uint64_t)); - /* Parameter 3: addr_end (type: PT_UINT64) */ + /* Parameter 2: addr_end (type: PT_UINT64) */ evt_test->assert_only_param_len(3, sizeof(uint64_t)); - /* Parameter 4: reqprot (type: PT_FLAGS32) */ + /* Parameter 3: reqprot (type: PT_FLAGS32) */ evt_test->assert_numeric_param(4, (int32_t)PROT_READ); - /* Parameter 5: prot (type: PT_FLAGS32) */ + /* Parameter 4: prot (type: PT_FLAGS32) */ evt_test->assert_numeric_param(5, (int32_t)PROT_READ); /*=============================== ASSERT PARAMETERS ===========================*/