[Bug 59220] [patch] systat(1) device select (:only) broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 3 14:48:06 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=59220

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: gonzo
Date: Sun Feb  3 14:47:23 UTC 2019
New revision: 343714
URL: https://svnweb.freebsd.org/changeset/base/343714

Log:
  MFC r343222-r343223, r343338

  r343222:
  Fix crash in systat(4) when certain commands are called without arguments

  Add check for missing arguments to dsmatchselect and dsselect

  PR:           219689
  Submitted by: Marko Turk <mt at markoturk.info>

  r343223:
  Fix inconsistency in return values introduced by r343222

  Consistently return 1 or the case of missing arguments in both functions

  PR:           219689
  X-MFC-With:   343222

  r343338:
  Fix systat's :only command parser for the multiple arguments case

  According to systat(1) :only option is supposed to accept multiple drives
  but the parser for its arguments stops after first entry. Fix the parser
  logic to accept multiple drives.

  PR:           59220
  Reported by:  Andy Farkas <andyf at speednet.com.au>

Changes:
_U  stable/12/
  stable/12/usr.bin/systat/devs.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list