diff options
Diffstat (limited to 'tftf/tests/runtime_services/secure_service/ffa_helpers.c')
-rw-r--r-- | tftf/tests/runtime_services/secure_service/ffa_helpers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tftf/tests/runtime_services/secure_service/ffa_helpers.c b/tftf/tests/runtime_services/secure_service/ffa_helpers.c index 7d94d2782..923ee2c94 100644 --- a/tftf/tests/runtime_services/secure_service/ffa_helpers.c +++ b/tftf/tests/runtime_services/secure_service/ffa_helpers.c @@ -304,9 +304,9 @@ ffa_memory_handle_t ffa_memory_send( return FFA_MEMORY_HANDLE_INVALID; } - if (ret.ret0 != FFA_SUCCESS_SMC32) { - ERROR("Failed to send memory to %x, error: %lx.\n", - receiver, ret.ret2); + if (ffa_func_id(ret) != FFA_SUCCESS_SMC32) { + ERROR("Failed to send memory to %x, error: %x.\n", + receiver, ffa_error_code(ret)); return FFA_MEMORY_HANDLE_INVALID; } |