=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/vmstat.c,v retrieving revision 1.89 retrieving revision 1.90 diff -c -r1.89 -r1.90 *** src/usr.bin/systat/vmstat.c 2018/11/17 23:10:08 1.89 --- src/usr.bin/systat/vmstat.c 2019/01/20 03:53:03 1.90 *************** *** 1,4 **** ! /* $OpenBSD: vmstat.c,v 1.89 2018/11/17 23:10:08 cheloha Exp $ */ /* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: vmstat.c,v 1.90 2019/01/20 03:53:03 tedu Exp $ */ /* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */ /*- *************** *** 97,103 **** int vm_keyboard_callback(int); static time_t t; - static double etime; static float hertz; static int nintr; static long *intrloc; --- 97,102 ---- *************** *** 336,341 **** --- 335,341 ---- u_int64_t inttotal, intcnt; int i, l, c; static int failcnt = 0, first_run = 0; + double etime; if (state == TIME) { if (!first_run) { *************** *** 676,682 **** static void dinfo(int dn, int c) { ! double words, atime; c += DISKCOL; --- 676,684 ---- static void dinfo(int dn, int c) { ! double words, atime, etime; ! ! etime = naptime; c += DISKCOL;