]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Replace vshPrint macro with function
authorPeter Krempa <pkrempa@redhat.com>
Fri, 12 Feb 2016 13:09:02 +0000 (14:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 15 Feb 2016 12:31:12 +0000 (13:31 +0100)
commit27fa42b24c8f9f532d2228a1f95d6fe52e1a3842
treee1d3a4a8b68eec89699385919c0d5c5c2e18f795
parent018010f05c0d9b4e4a7337f7bb1dd375c531637b
vsh: Replace vshPrint macro with function

The macro would eat the first parameter. In some cases the format string
for vshPrint was eaten. In other cases the calls referenced variables
which did not exist in the given context. Avoid errors by doing compile
time checking.
tools/virsh-domain.c
tools/vsh.c
tools/vsh.h