From e7f5588ee9bec8d9ad77be8ffd0e240142b637e1 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Thu, 30 Jul 1998 17:56:02 +0000 Subject: [PATCH] Using correct `(1 << GLIBTOP_SYSDEPS_)' in call to 1998-07-30 Martin Baulig * lib/lib.awk: Using correct `(1 << GLIBTOP_SYSDEPS_)' in call to `glibtop_init_r'. --- ChangeLog | 3 +++ lib/lib.awk | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c045ce36..12a00504 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-07-30 Martin Baulig + * lib/lib.awk: Using correct `(1 << GLIBTOP_SYSDEPS_)' + in call to `glibtop_init_r'. + * configure.in (GNOME_LIBGTOP_TYPES): New check. * include/glibtop/*.h: Using `u_int64_t' instead of `unsigned long' diff --git a/lib/lib.awk b/lib/lib.awk index c5f712e4..d2972a33 100644 --- a/lib/lib.awk +++ b/lib/lib.awk @@ -52,7 +52,7 @@ function output(line) { } print "{"; - print "\tglibtop_init_r (&server, GLIBTOP_SYSDEPS_"toupper(feature)", 0);"; + print "\tglibtop_init_r (&server, (1 << GLIBTOP_SYSDEPS_"toupper(feature)"), 0);"; print ""; print "\tif ((server->flags & _GLIBTOP_INIT_STATE_SERVER) &&"; print "\t (server->features & (1 << GLIBTOP_SYSDEPS_"toupper(feature)")))";