]> granicus.if.org Git - procps-ng/commit
vmstat: disallow 'disks' under that 'partition' switch
authorJim Warner <james.warner@comcast.net>
Mon, 11 Jul 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 16 Jul 2016 22:49:48 +0000 (08:49 +1000)
commit7df7795b929c2c0911127d9fff64e62fe9e2975f
tree10a4befacf4f826563598f936362cc1d36bb3a6c
parentdfedcdd8833f1fae2ae3a0ce6954cde79f6036cb
vmstat: disallow 'disks' under that 'partition' switch

Emulating the presumed proper behavior of the original
program, when the -p switch is used we will now report
an error if that provided name matches some disk name.

Signed-off-by: Jim Warner <james.warner@comcast.net>
vmstat.c