]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix Commnad -> Command typo
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 5 Jan 2023 13:14:06 +0000 (14:14 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 6 Jan 2023 09:28:58 +0000 (10:28 +0100)
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c

index 06e29ff8ae210a7e297e91d8e8fb17fe57292fb0..cd3222feacec7342d654934bb757ef8ef7628081 100644 (file)
@@ -9870,11 +9870,11 @@ typedef enum {
     QEMU_COMMAND_DEPRECATION_BEHAVIOR_CRASH,
 
     QEMU_COMMAND_DEPRECATION_BEHAVIOR_LAST
-} qemuCommnadDeprecationBehavior;
+} qemuCommandDeprecationBehavior;
 
 
-VIR_ENUM_DECL(qemuCommnadDeprecationBehavior);
-VIR_ENUM_IMPL(qemuCommnadDeprecationBehavior,
+VIR_ENUM_DECL(qemuCommandDeprecationBehavior);
+VIR_ENUM_IMPL(qemuCommandDeprecationBehavior,
               QEMU_COMMAND_DEPRECATION_BEHAVIOR_LAST,
               "none",
               "omit",
@@ -9890,7 +9890,7 @@ qemuBuildCompatDeprecatedCommandLine(virCommand *cmd,
     g_autoptr(virJSONValue) props = NULL;
     g_autofree char *propsstr = NULL;
     qemuDomainXmlNsDef *nsdata = def->namespaceData;
-    qemuCommnadDeprecationBehavior behavior = QEMU_COMMAND_DEPRECATION_BEHAVIOR_NONE;
+    qemuCommandDeprecationBehavior behavior = QEMU_COMMAND_DEPRECATION_BEHAVIOR_NONE;
     const char *behaviorStr = cfg->deprecationBehavior;
     int tmp;
     const char *deprecatedOutput = NULL;
@@ -9899,7 +9899,7 @@ qemuBuildCompatDeprecatedCommandLine(virCommand *cmd,
     if (nsdata && nsdata->deprecationBehavior)
         behaviorStr = nsdata->deprecationBehavior;
 
-    if ((tmp = qemuCommnadDeprecationBehaviorTypeFromString(behaviorStr)) < 0) {
+    if ((tmp = qemuCommandDeprecationBehaviorTypeFromString(behaviorStr)) < 0) {
         VIR_WARN("Unsupported deprecation behavior '%s' for VM '%s'",
                  behaviorStr, def->name);
         return;