Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1717090
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
---
Pushed as trivial.
tests/testutilsqemu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c
index bce847ce5e..9ac9f9bd39 100644
--- a/tests/testutilsqemu.c
+++ b/tests/testutilsqemu.c
@@ -918,7 +918,7 @@ testQemuCapsIterate(const char *suffix,
if (virDirOpen(&dir, TEST_QEMU_CAPS_PATH) < 0)
goto cleanup;
- while ((rc = virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH) > 0)) {
+ while ((rc = virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH)) > 0) {
char *tmp = ent->d_name;
char *base = NULL;
char *archName = NULL;
--
2.20.1