1 diff -durN atop-1.6.orig/acctproc.c atop-1.6/acctproc.c
2 --- atop-1.6.orig/acctproc.c Tue Sep 3 10:03:33 2002
3 +++ atop-1.6/acctproc.c Tue Sep 17 14:17:57 2002
13 static uint acctsize; /* previous size of account file */
14 int acctfd = -1; /* fd of account file */
17 +static long acctexp(time_t ct);
19 static long acctexp(comp_t ct);
25 api->cpu.utime = acctexp(acctrec.ac_utime);
26 api->mem.minflt = acctexp(acctrec.ac_minflt);
27 api->mem.majflt = acctexp(acctrec.ac_majflt);
32 api->mem.iosw = acctexp(acctrec.ac_swaps);
33 api->dsk.ior = acctexp(acctrec.ac_rw);
36 strcpy(api->gen.name, acctrec.ac_comm);
40 ** expand the special compression-method