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

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



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


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