]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: event: Introduce virshEventPrintf
authorPeter Krempa <pkrempa@redhat.com>
Thu, 13 Apr 2023 07:31:34 +0000 (09:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Apr 2023 13:22:02 +0000 (15:22 +0200)
commit9dc2a41f1e2df7c16ffad8b8a33e44f05ad4fa5a
treef615364f08bfba08769cf4ea01a271a88adc58ff
parent13af21fb7490e4aae1514ee1318c7096eea07fcc
virsh: event: Introduce virshEventPrintf

Extract internals of virshEventPrint into a function that can take the
format string. The function will be used in upcoming patches which make
the event formatting translatable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-domain-event.c