]> granicus.if.org Git - procps-ng/commit
top: fix unlikely edge case wherein all fields are off
authorJim Warner <james.warner@comcast.net>
Mon, 3 Aug 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sun, 23 Aug 2015 11:01:37 +0000 (21:01 +1000)
commit180bbb4032d8ab0e22f05ed26bf183942009dfe5
tree4f8a8fccefd7038fd6acf6710b5c276045c2400f
parentb7fe46a815cf695e4dae2d3cd378338b7db4d762
top: fix unlikely edge case wherein all fields are off

While testing a newlib interface for pids acquisitions
I encountered some unexpected results if an idiot user
(me) turns off all displayable fields. So, this commit
ensures that the PID field will be shown as a minimum.

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