]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device: fix libvirt build if WITH_HAL is defined
authorMaxim Nestratov <mnestratov@parallels.com>
Thu, 21 May 2015 17:23:56 +0000 (20:23 +0300)
committerLaine Stump <laine@laine.org>
Thu, 21 May 2015 18:25:20 +0000 (14:25 -0400)
commitb903b3b01ed3e8295208e6bd5e48d69bf26aef40
tree0019a5110d5fcb74d7816a8d2cd6fc433507493c
parent85128e296232c0b95b18321b76a15252b0db5a90
node_device: fix libvirt build if WITH_HAL is defined

commit ffc40b63b50ecb changed uniond _virNodeDevCapData into a typedef
named virNodeDevCapData with a struct that contains the union as well
as a type enum. This change necessitated changing every reference to
"caps->type" into "caps->data.type", but the author of that patch
failed to test a build "WITH_HAL". This patch fixes the one place in
the hal backend that needed changing.
src/node_device/node_device_hal.c