]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: fix snapshot list --parent
authorJán Tomko <jtomko@redhat.com>
Thu, 14 Feb 2019 13:45:12 +0000 (14:45 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 14 Feb 2019 15:37:24 +0000 (16:37 +0100)
commitd3e5c3605a66c04e809591fb4920f5d72e72a736
treeb163a908f7c5bdcb77785ee2fc6214ce3bcc974e
parent4b23f18d2c9e13ac6f33fb45dbb79931082125bb
virsh: fix snapshot list --parent

The root snapshot does not have a parent.
Use NULLSTR_EMPTY to pass an empty string instead of putting
too few columns in the table.

https://bugzilla.redhat.com/show_bug.cgi?id=1662849

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tools/virsh-snapshot.c