mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: Fix parentheses order in an assignment-comparison conditional
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1717090 Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
de563ebcf9
commit
08ad83eee1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user