Bug 230803 - top -sH thinks H is the number 0 instead of error
Summary: top -sH thinks H is the number 0 instead of error
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Eitan Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 17:10 UTC by John-Mark Gurney
Modified: 2018-08-22 09:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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