psacct/psacct-6.5.4-hzval.patch

13 lines
391 B
Diff
Raw Normal View History

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 */