diff options
Diffstat (limited to 'usr.bin/systat/cpu.c')
-rw-r--r-- | usr.bin/systat/cpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/systat/cpu.c b/usr.bin/systat/cpu.c index 520bb9389f8..90cdeeed6c2 100644 --- a/usr.bin/systat/cpu.c +++ b/usr.bin/systat/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.4 2015/01/16 00:03:37 deraadt Exp $ */ +/* $OpenBSD: cpu.c,v 1.5 2016/01/02 20:02:40 benno Exp $ */ /* * Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org> @@ -246,12 +246,10 @@ initcpu(void) void print_cpu(void) { - time_t tm; int cur = 0, c, i; int end = dispstart + maxprint; int64_t *states; double value[CPUSTATES]; - tm = time(NULL); if (end > num_disp) end = num_disp; |