Cap wait/interval at 100 million seconds.
authorcheloha <cheloha@openbsd.org>
Sat, 10 Feb 2018 19:49:50 +0000 (19:49 +0000)
committercheloha <cheloha@openbsd.org>
Sat, 10 Feb 2018 19:49:50 +0000 (19:49 +0000)
commitc1e3adfb8ee9483704e2f6c41734ef663ec779ee
treef3a79fd2aaed853fba6b36320a81d3ad83f857b3
parent86070771eef1c6518b5a0ed036b5405958ac34b9
Cap wait/interval at 100 million seconds.

Keeps nanosleep(2) from choking.

While here, call the argument to the -w flag "wait" in the
error message to match up with documentation and usage().

ok tedu@ deraadt@ tb@
usr.sbin/iostat/iostat.c