Fixed .flags.

* uptime.c:

	Fixed .flags.
This commit is contained in:
Benoît Dejean
2005-07-23 00:01:11 +00:00
parent 8e656af060
commit 1645027004
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2005-07-23 Benoît Dejean <TazForEver@dlfp.org>
* uptime.c:
Fixed .flags.
2005-07-22 Benoît Dejean <TazForEver@dlfp.org> 2005-07-22 Benoît Dejean <TazForEver@dlfp.org>
* glibtop_private.c: (get_page_size): * glibtop_private.c: (get_page_size):

View File

@@ -30,7 +30,9 @@
#include <time.h> #include <time.h>
static const unsigned long _glibtop_sysdeps_uptime = 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. */ /* Init function. */