Now correctly using `(1 << GLIBTOP_SYSDEPS_*)' instead of

1998-07-17  Martin Baulig  <baulig@Stud.Informatik.uni-trier.de>

	* lib/lib.awk (glibtop_get_*): Now correctly using
	`(1 << GLIBTOP_SYSDEPS_*)' instead of `GLIBTOP_SYSDEPS_*'.
This commit is contained in:
Martin Baulig
1998-07-17 17:21:00 +00:00
committed by Martin Baulig
parent c41d6e5a77
commit 540cd68691
2 changed files with 4 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ function output(feature) {
print "\tglibtop_init_r (&server, GLIBTOP_SYSDEPS_"toupper(feature)", 0);";
print "";
print "\tif ((server->flags & _GLIBTOP_INIT_STATE_SERVER) &&";
print "\t (server->features & GLIBTOP_SYSDEPS_"toupper(feature)"))";
print "\t (server->features & (1 << GLIBTOP_SYSDEPS_"toupper(feature)")))";
print "\t{";
if (feature ~ /^proc_/) {