Re: [PATCH] qemu: Avoid overwriting errors from virGetHostname

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

 



On Wed, Aug 03, 2011 at 07:03:03 -0600, Eric Blake wrote:
> On 08/03/2011 04:08 AM, Jiri Denemark wrote:
> > ---
> >   src/qemu/qemu_migration.c |    2 +-
> >   1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> > index 7aeea69..4d0e062 100644
> > --- a/src/qemu/qemu_migration.c
> > +++ b/src/qemu/qemu_migration.c
> > @@ -257,7 +257,7 @@ qemuMigrationCookieNew(virDomainObjPtr dom)
> >       memcpy(mig->uuid, dom->def->uuid, VIR_UUID_BUFLEN);
> >
> >       if (!(mig->localHostname = virGetHostname(NULL)))
> > -        goto no_memory;
> > +        goto error;
> 
> ACK.

Pushed, thanks.

Jirka

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