Bug 230803

Summary: top -sH thinks H is the number 0 instead of error
Product: Base System Reporter: John-Mark Gurney <jmg>
Component: binAssignee: Eitan Adler <eadler>
Status: Closed FIXED    
Severity: Affects Many People    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description John-Mark Gurney freebsd_committer freebsd_triage 2018-08-21 17:10:35 UTC
run top -sH and console continually updates.  should return an error.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-08-22 09:50:26 UTC
A commit references this bug:

Author: eadler
Date: Wed Aug 22 09:49:38 UTC 2018
New revision: 338187
URL: https://svnweb.freebsd.org/changeset/base/338187

Log:
  top(1): issue warning on invalid delay

  When top -sH is run it continually updates. It should issue an warning
  instead.

  Reported by:	jmg
  PR:		230803

Changes:
  head/usr.bin/top/top.c