Re: [PATCH] openvz: Fix wordsize on 64 bit architectures

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

 



On Mon, Jun 18, 2012 at 08:25:32AM +0200, Michal Privoznik wrote:
> On 17.06.2012 19:18, Guido Günther wrote:
> > The word size there is 64 bit not 8.
> > ---
> > Came across this while browsing the source. O.k. to apply?
> >  -- Guido
> > 
> >  src/openvz/openvz_conf.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
> > index ad4ed74..007f9fe 100644
> > --- a/src/openvz/openvz_conf.c
> > +++ b/src/openvz/openvz_conf.c
> > @@ -195,7 +195,7 @@ virCapsPtr openvzCapsInit(void)
> >      if ((guest = virCapabilitiesAddGuest(caps,
> >                                           "exe",
> >                                           utsname.machine,
> > -                                         sizeof(int) == 4 ? 32 : 8,
> > +                                         sizeof(int) == 4 ? 32 : 64,
> >                                           NULL,
> >                                           NULL,
> >                                           0,
> > 
> 
> ACK
Pushed. Thanks.
 -- Guido

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