mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
build: fix "missing initializer" errors in virsh.c
Found when attempting to build on Fedora 17 alpha with: ./autogen.sh --system --enable-compile-warnings=error (this same build command works without problem on Fedora 16). All other struct initializers for this struct have the extra field filled in (almost always to 0), so the two errant ones were fixed by adding in the extra 0 field.
This commit is contained in:
parent
cf57d345b5
commit
05c25e6071
@ -17152,7 +17152,7 @@ static const vshCmdDef domManagementCmds[] = {
|
||||
{"dumpxml", cmdDumpXML, opts_dumpxml, info_dumpxml, 0},
|
||||
{"edit", cmdEdit, opts_edit, info_edit, 0},
|
||||
{"inject-nmi", cmdInjectNMI, opts_inject_nmi, info_inject_nmi, 0},
|
||||
{"send-key", cmdSendKey, opts_send_key, info_send_key},
|
||||
{"send-key", cmdSendKey, opts_send_key, info_send_key, 0},
|
||||
{"managedsave", cmdManagedSave, opts_managedsave, info_managedsave, 0},
|
||||
{"managedsave-remove", cmdManagedSaveRemove, opts_managedsaveremove,
|
||||
info_managedsaveremove, 0},
|
||||
@ -17406,7 +17406,7 @@ static const vshCmdDef hostAndHypervisorCmds[] = {
|
||||
{"nodeinfo", cmdNodeinfo, NULL, info_nodeinfo, 0},
|
||||
{"nodememstats", cmdNodeMemStats, opts_node_memstats, info_nodememstats, 0},
|
||||
{"nodesuspend", cmdNodeSuspend, opts_node_suspend, info_nodesuspend, 0},
|
||||
{"qemu-attach", cmdQemuAttach, opts_qemu_attach, info_qemu_attach},
|
||||
{"qemu-attach", cmdQemuAttach, opts_qemu_attach, info_qemu_attach, 0},
|
||||
{"qemu-monitor-command", cmdQemuMonitorCommand, opts_qemu_monitor_command,
|
||||
info_qemu_monitor_command, 0},
|
||||
{"sysinfo", cmdSysinfo, NULL, info_sysinfo, 0},
|
||||
|
Loading…
x
Reference in New Issue
Block a user