Re: [PATCH spice-server 1/5] reds: Use mnemonic to make code more readable

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

 



On Tue, Oct 09, 2018 at 04:33:33AM -0400, Frediano Ziglio wrote:
> > 
> > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> > ---
> >  server/reds.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/server/reds.c b/server/reds.c
> > index 4645f1c6..80a1ae34 100644
> > --- a/server/reds.c
> > +++ b/server/reds.c
> > @@ -3004,7 +3004,7 @@ static void migrate_timeout(void *opaque)
> >  
> >  uint32_t reds_get_mm_time(void)
> >  {
> > -    return g_get_monotonic_time() / 1000;
> > +    return g_get_monotonic_time() / MSEC_PER_SEC;
> >  }
> >  
> >  void reds_enable_mm_time(RedsState *reds)
> 
> Just realized should be USEC_PER_MSEC here, never mind, still morning

Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

> 
> Frediano
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]