libdevstat - Fix a bug in DS_SELECT_REMOVE
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 14 Jun 2019 02:59:08 +0000 (19:59 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 14 Jun 2019 02:59:08 +0000 (19:59 -0700)
commit69938c7bc64221ef7fc07f64550eccec74251b24
tree929ff93373a31d10daaba23b3f55d358ce74c8a2
parentbe1f9ddcee21777578b8347df06ea212bb34d3e5
libdevstat - Fix a bug in DS_SELECT_REMOVE

* An improper decrement cut the list scan short, causing wildcard
  removals to not select all matching devices.

* This only really effects e.g. systat -vm and similar utilities.
lib/libdevstat/devstat.c