提交 08ad83ee 编写于 作者: E Erik Skultety

tests: Fix parentheses order in an assignment-comparison conditional

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1717090Signed-off-by: NErik Skultety <eskultet@redhat.com>
上级 de563ebc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册