Re: [libvirt] [PATCH] Fix a typo in virDiskHasValidPciAddr()

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

 



On Wed, 2009-09-23 at 18:46 +0200, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/conf/domain_conf.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
> index 09368d9..d494e54 100644
> --- a/src/conf/domain_conf.h
> +++ b/src/conf/domain_conf.h
> @@ -125,7 +125,7 @@ struct _virDomainDiskDef {
>  static inline int
>  virDiskHasValidPciAddr(virDomainDiskDefPtr def)
>  {
> -    return def->pci_addr.domain || def->pci_addr.domain || def->pci_addr.slot;
> +    return def->pci_addr.domain || def->pci_addr.bus || def->pci_addr.slot;
>  }
>  

Nice catch, I've pushed this and the same fix for
virNetHasValidPciAddr()

Thanks,
Mark.

--
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]