Use the new mx_object_get_info parameter ordering
BUG= R=zra@google.com, abarth@google.com Review URL: https://codereview.chromium.org/2475083002 .
This commit is contained in:
@@ -269,9 +269,11 @@ static int run_test(mx_handle_t binary_vmo, const char* test_name,
|
||||
RETURN_IF_ERROR(r);
|
||||
|
||||
mx_info_process_t proc_info;
|
||||
mx_ssize_t info_size = mx_object_get_info(
|
||||
p, MX_INFO_PROCESS, sizeof(proc_info.rec), &proc_info, sizeof(proc_info));
|
||||
RETURN_IF_ERROR(info_size);
|
||||
mx_size_t info_size;
|
||||
mx_status_t status =
|
||||
mx_object_get_info(p, MX_INFO_PROCESS, sizeof(proc_info.rec),
|
||||
&proc_info, sizeof(proc_info), &info_size);
|
||||
RETURN_IF_ERROR(status);
|
||||
|
||||
r = mx_handle_close(p);
|
||||
RETURN_IF_ERROR(r);
|
||||
|
||||
Reference in New Issue
Block a user