freebsd-skq/usr.bin/ctlstat
Kenneth D. Merry 5e79631638 Fix bugs in the elapsed time calculation in ctlstat_standard()
pointed out by bde:

- Casting to long double isn't needed.
- The division isn't needed, multiplication can be used.
  "When 1 nanosecond is in a floating point literal, the whole
  expression is automatically promoted correctly."
- non-KNF indentation (1 tab) for the newly split line
- different non-KNF indentation (5 spaces) for the previously split
  line
- exessive parentheses around the division operation
- bogus blank line which splits up the etime initialization
- general verboseness from the above.

Submitted by:	bde
MFC after:	3 days
2013-04-11 21:18:04 +00:00
..
ctlstat.8 Make it possible to build CTL as a module. 2013-04-02 09:42:42 +00:00
ctlstat.c Fix bugs in the elapsed time calculation in ctlstat_standard() 2013-04-11 21:18:04 +00:00
Makefile