]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: cmdScreenshot: fix cbdata passing to virshStreamSink
authorJán Tomko <jtomko@redhat.com>
Wed, 9 Sep 2020 08:55:40 +0000 (10:55 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 9 Sep 2020 12:37:19 +0000 (14:37 +0200)
commit3144e881b137123b0326157ce6dc23ca649c9270
tree690059db99aae6631b041a2c5aa05dcb821432fe
parent0b261edd15472557170bb032b7dfd4358084f3a4
virsh: cmdScreenshot: fix cbdata passing to virshStreamSink

The changes for sparse stream support started passing
virshStreamCallbackDataPtr to virshStreamSink
instead of passing a simple file descriptor, but
forgot to adjust all the callers.

Fix it in cmdScreenshot as well.

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

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 9e745a97171e10f050962c166082439d6724e245
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tools/virsh-domain.c