Using correct `(1 << GLIBTOP_SYSDEPS_<feature>)' in call to

1998-07-30  Martin Baulig  <martin@home-of-linux.org>

	* lib/lib.awk: Using correct `(1 << GLIBTOP_SYSDEPS_<feature>)'
	in call to `glibtop_init_r'.
This commit is contained in:
Martin Baulig
1998-07-30 17:56:02 +00:00
committed by Martin Baulig
parent b55ee6117f
commit e7f5588ee9
2 changed files with 4 additions and 1 deletions

View File

@@ -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)")))";