未验证 提交 1c54461d 编写于 作者: A Adam Barth 提交者: GitHub

Update to FIDL2 String interface (#4775)

上级 d1555651
......@@ -89,7 +89,7 @@ fdio_ns_t* ApplicationControllerImpl::SetupNamespace(
}
zx::channel dir = std::move(flat->directories[i]);
zx_handle_t dir_handle = dir.release();
const char* path = flat->paths[i].data();
const char* path = flat->paths[i]->data();
status = fdio_ns_bind(fdio_namespc, path, dir_handle);
if (status != ZX_OK) {
FXL_LOG(ERROR) << "Failed to bind " << flat->paths[i] << " to namespace";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册