New function qemudParseHelpStr was being called with arguments in the
wrong order, so command flags == kvm_version :/
Signed-off-by: Cole Robinson <crobinso(a)redhat.com>
---
src/qemu_conf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/qemu_conf.c b/src/qemu_conf.c
index 22f315c..a669c11 100644
--- a/src/qemu_conf.c
+++ b/src/qemu_conf.c
@@ -597,7 +597,7 @@ int qemudExtractVersionInfo(const char *qemu,
goto cleanup2;
}
- if (qemudParseHelpStr(help, &version, &kvm_version, &is_kvm, &flags)
== -1)
+ if (qemudParseHelpStr(help, &flags, &version, &is_kvm, &kvm_version)
== -1)
goto cleanup2;
if (retversion)
--
1.6.0.6