diff --git a/system/utest/policy/job-policy.cpp b/system/utest/policy/job-policy.cpp index b1dcf8518e3058c88743c1afeadd0c55e2a05bd4..a1bbb187051d4c32d202425d20031f6161e01602 100644 --- a/system/utest/policy/job-policy.cpp +++ b/system/utest/policy/job-policy.cpp @@ -317,7 +317,7 @@ static bool TestInvokingPolicyWithException( // using crashlogger gives a correct backtrace. // Resume the thread. - ASSERT_EQ(zx_task_resume(thread.get(), ZX_RESUME_EXCEPTION), ZX_OK); + ASSERT_EQ(zx_task_resume_from_exception(thread.get(), exc_port, 0), ZX_OK); // Check that the read-ready state of the channel changed compared with // the earlier check. EXPECT_EQ(zx_object_wait_one(ctrl, ZX_CHANNEL_READABLE, ZX_TIME_INFINITE,