[libvirt] [PATCH] tests: Fix misplaced parenthesis in qemumonitorjsontest

Eric Blake eblake at redhat.com
Wed Dec 3 16:59:15 UTC 2014


On 12/03/2014 09:21 AM, Martin Kletzander wrote:
> On Wed, Dec 03, 2014 at 02:57:15PM +0100, Ján Tomko wrote:
>> On 12/03/2014 02:45 PM, Martin Kletzander wrote:
>>> When trying clang, it found out that we were comparing sizeof with 0
>>> even though we wanted to check the return value of memcmp.
>>>
>>> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>>> ---
>>>  tests/qemumonitorjsontest.c | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)

> Consider this squashed in:
> 
> diff --git i/tests/qemumonitorjsontest.c w/tests/qemumonitorjsontest.c
> index d3ae29a..bd92e63 100644
> --- i/tests/qemumonitorjsontest.c
> +++ w/tests/qemumonitorjsontest.c
> @@ -60,6 +60,13 @@ const char *queryBlockReply =
> "                \"encrypted\": false,"
> "                \"bps\": 1,"
> "                \"bps_rd\": 2,"
> +"                \"bps_max\": 7,"

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141203/3c0e48b6/attachment-0001.sig>


More information about the libvir-list mailing list