提交 0fb83c33 编写于 作者: D Daniel P. Berrangé

bhyve: fix typo in struct field accessor

This fixes a FreeBSD build error from

  commit a11a0e6e
  Author: Rafael Fonseca <r4f4rfs@gmail.com>
  Date:   Tue Mar 24 17:14:30 2020 +0100

    bhyve: move video default logic to driver
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 4257c203
...@@ -162,8 +162,8 @@ bhyveDomainDeviceDefPostParse(virDomainDeviceDefPtr dev, ...@@ -162,8 +162,8 @@ bhyveDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
} }
if (dev->type == VIR_DOMAIN_DEVICE_VIDEO && if (dev->type == VIR_DOMAIN_DEVICE_VIDEO &&
dev->data.video.type == VIR_DOMAIN_VIDEO_TYPE_DEFAULT) { dev->data.video->type == VIR_DOMAIN_VIDEO_TYPE_DEFAULT) {
dev->data.video.type = VIR_DOMAIN_VIDEO_TYPE_GOP; dev->data.video->type = VIR_DOMAIN_VIDEO_TYPE_GOP;
} }
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册