diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 0db7cc472106fc1331b15f75393f0176417de3b2..bef869a7a94cae727a1e992b9140eab62b8d3343 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -3677,7 +3677,7 @@ qemuMonitorJSONBlockIoThrottleInfo(virJSONValuePtr result, goto cleanup; } - if (STREQ(current_dev, device)) + if (STRNEQ(current_dev, device)) continue; found = true;