psacct/psacct-6.5.4-hzval.patch
Ivana Varekova f2a9fc4a18 - Resolves: #575975 Build psacct with --enable-linux-multiformat
- remove obsolete change
- fix sa problem with hzval variable
2010-06-25 10:47:22 +00:00

13 lines
391 B
Diff

diff -up acct-6.5.4/sa.c.pom acct-6.5.4/sa.c
--- acct-6.5.4/sa.c.pom 2010-02-12 02:24:11.000000000 +0100
+++ acct-6.5.4/sa.c 2010-06-25 12:32:18.000000000 +0200
@@ -280,7 +280,7 @@ int main(int argc, char *argv[])
{
int c;
- static unsigned int hzval;
+ hzval = sysconf(_SC_CLK_TCK);
program_name = argv[0];
/* Cache the page size of the machine for the PAGES_TO_KB macro */