From 164502700446cd65fe1437949ad73eaf5132b772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Sat, 23 Jul 2005 00:01:11 +0000 Subject: [PATCH] Fixed .flags. * uptime.c: Fixed .flags. --- sysdeps/linux/ChangeLog | 6 ++++++ sysdeps/linux/uptime.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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. */