- The initial pftop state divides by delta_time, which starts out as 0.0 and can prevent states from displaying properly.
- Initialize delta_time to 1.0 and disallow sleep intervals < 0.1 second to avoid an absurd result.
d645c5e systat - Fix initial pftop state
usr.bin/systat/pftop.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Upstream: gitweb.dragonflybsd.org