]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Fix the order of format arguments in doDump
authorHan Han <hhan@redhat.com>
Tue, 13 Jul 2021 08:04:12 +0000 (16:04 +0800)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 13 Jul 2021 09:21:23 +0000 (11:21 +0200)
commit78b1a53df13e2acff872327da933be9fa2c0d069
tree3953967a6bd8ba7cf29c782fc7a7988b13bbe826
parent0d1ccad240eb43d9a1a6927400f58caa280fd1be
virsh: Fix the order of format arguments in doDump

According to definition of virDomainCoreDumpFormat, the "elf" should be
the first argument in VIR_ENUM_*.

Fixes: 84cc4543be
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1981625

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tools/virsh-domain.c