Re: [PATCH] build fix: fix libvirt build if WITH_HAL is defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/21/2015 01:23 PM, Maxim Nestratov wrote:
> ---
>  src/node_device/node_device_hal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/node_device/node_device_hal.c b/src/node_device/node_device_hal.c
> index 2d3bc17..6d18a87 100644
> --- a/src/node_device/node_device_hal.c
> +++ b/src/node_device/node_device_hal.c
> @@ -372,7 +372,7 @@ gather_capability(LibHalContext *ctx, const char *udi,
>          virNodeDevCapsDefPtr caps;
>          if (VIR_ALLOC(caps) < 0)
>              return ENOMEM;
> -        caps->type = entry->type;
> +        caps->data.type = entry->type;
>          if (entry->gather_fn) {
>              int rv = (*entry->gather_fn)(ctx, udi, &caps->data);
>              if (rv != 0) {

Oops! Sorry about that!

ACK. I just added a bit more description to the log message and pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]