tools/kvm_stat: fix error on interactive command 'g'
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Sun, 25 Jun 2017 19:34:14 +0000 (21:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jun 2017 14:41:55 +0000 (16:41 +0200)
commit61f381bb7e1a8e9250aa32b3963a7a5c4b92cbf5
treee9fed932b5e7f6c22c92586df2fe9f7211d6085a
parent1a5e1852941d0d8ae98a4b5c769ec998e3708158
tools/kvm_stat: fix error on interactive command 'g'

Fix an instance where print_all_gnames() is called without the mandatory
argument, resulting in a stack trace.
To reproduce, simply press 'g' in interactive mode.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/kvm/kvm_stat/kvm_stat