diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-08-06 08:53:42 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-16 08:42:06 +0200 |
commit | e3dc93be1ac46fdb58142383319b783b4c4ce8ca (patch) | |
tree | ad82a627dd01ad02b389d6b79cb620b5fb54c594 /tests/endianness-test.c | |
parent | c44a56d8ba1c13fea5c9d045ac178638807079cc (diff) | |
download | qemu-e3dc93be1ac46fdb58142383319b783b4c4ce8ca.zip qemu-e3dc93be1ac46fdb58142383319b783b4c4ce8ca.tar.gz qemu-e3dc93be1ac46fdb58142383319b783b4c4ce8ca.tar.bz2 |
libqtest: Enable compile-time format string checking
qtest_qmp() & friends pass their format string and variable arguments
to qobject_from_vjsonf_nofail(). Unlike qobject_from_jsonv(), they
aren't decorated with GCC_FMT_ATTR(). Fix that to get compile-time
format string checking.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-22-armbru@redhat.com>
Diffstat (limited to 'tests/endianness-test.c')
0 files changed, 0 insertions, 0 deletions