mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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>
This commit is contained in:
parent
0d1ccad240
commit
78b1a53df1
@ -5412,10 +5412,10 @@ static const vshCmdOptDef opts_dump[] = {
|
||||
|
||||
VIR_ENUM_IMPL(virDomainCoreDumpFormat,
|
||||
VIR_DOMAIN_CORE_DUMP_FORMAT_LAST,
|
||||
"elf",
|
||||
"kdump-zlib",
|
||||
"kdump-lzo",
|
||||
"kdump-snappy",
|
||||
"elf",
|
||||
"win-dmp");
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user