[PATCH] qemu: Fix Commnad -> Command typo

Martin Kletzander mkletzan at redhat.com
Fri Jan 6 09:28:36 UTC 2023


Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
Pushed as 'trivial'.

 src/qemu/qemu_command.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index ee2e873b9562..74069587bfea 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -9843,11 +9843,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",
@@ -9863,7 +9863,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;
@@ -9872,7 +9872,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;
-- 
2.39.0



More information about the libvir-list mailing list