The values should be displayed as-is and not normalized based on
the sleep interval. From Anindya Mukherjee
-/* $OpenBSD: iostat.c,v 1.49 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: iostat.c,v 1.50 2021/08/14 14:22:26 millert Exp $ */
/* $NetBSD: iostat.c,v 1.5 1996/05/10 23:16:35 thorpej Exp $ */
/*
print_io(void)
{
int n, count = 0;
-
int curr;
- etime = naptime;
+
+ if (state == BOOT)
+ etime = 1.0;
+ else
+ etime = naptime;
/* XXX engine internals: save and restore curr_line for bcache */
curr = curr_line;