diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 60f03ce3..83fb8bb2 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,3 +1,9 @@ +2005-07-23 Benoît Dejean + + * uptime.c: + + Fixed .flags. + 2005-07-22 Benoît Dejean * glibtop_private.c: (get_page_size): diff --git a/sysdeps/linux/uptime.c b/sysdeps/linux/uptime.c index a87c153c..a725470a 100644 --- a/sysdeps/linux/uptime.c +++ b/sysdeps/linux/uptime.c @@ -30,7 +30,9 @@ #include static const unsigned long _glibtop_sysdeps_uptime = -(1L << GLIBTOP_UPTIME_UPTIME) + (1L << GLIBTOP_UPTIME_IDLETIME); + (1UL << GLIBTOP_UPTIME_UPTIME) \ ++ (1UL << GLIBTOP_UPTIME_IDLETIME) \ ++ (1UL << GLIBTOP_UPTIME_BOOT_TIME); /* Init function. */