Commit 0fb83c33 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

bhyve: fix typo in struct field accessor

This fixes a FreeBSD build error from

  commit a11a0e6e
  Author: Rafael Fonseca <[email protected]>
  Date:   Tue Mar 24 17:14:30 2020 +0100

    bhyve: move video default logic to driver
Signed-off-by: default avatarDaniel P. Berrangé <[email protected]>
parent 4257c203
......@@ -162,8 +162,8 @@ bhyveDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
}
if (dev->type == VIR_DOMAIN_DEVICE_VIDEO &&
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_DEFAULT) {
dev->data.video->type = VIR_DOMAIN_VIDEO_TYPE_GOP;
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment