From b56b355ca7cda010852effc65e1cc3d6e0ed462c Mon Sep 17 00:00:00 2001 From: James Robinson Date: Wed, 7 Sep 2016 16:29:56 -0700 Subject: [PATCH] Update for mx_object_get_info() changes. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/2319363002 . --- runtime/bin/run_vm_tests_fuchsia.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/bin/run_vm_tests_fuchsia.cc b/runtime/bin/run_vm_tests_fuchsia.cc index 328323e7e30..4525a7f0278 100644 --- a/runtime/bin/run_vm_tests_fuchsia.cc +++ b/runtime/bin/run_vm_tests_fuchsia.cc @@ -272,14 +272,14 @@ static int run_test(mx_handle_t binary_vmo, const char* test_name, p, MX_SIGNAL_SIGNALED, MX_TIME_INFINITE, &state); RETURN_IF_ERROR(r); - mx_process_info_t proc_info; + mx_info_process_t proc_info; mx_ssize_t info_size = mx_object_get_info( - p, MX_INFO_PROCESS, &proc_info, sizeof(proc_info)); + p, MX_INFO_PROCESS, sizeof(proc_info.rec), &proc_info, sizeof(proc_info)); RETURN_IF_ERROR(info_size); r = mx_handle_close(p); RETURN_IF_ERROR(r); - return proc_info.return_code; + return proc_info.rec.return_code; }