aboutsummaryrefslogtreecommitdiff
path: root/tests/qmp-test.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-08-06 08:53:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-08-16 08:42:06 +0200
commite3dc93be1ac46fdb58142383319b783b4c4ce8ca (patch)
treead82a627dd01ad02b389d6b79cb620b5fb54c594 /tests/qmp-test.c
parentc44a56d8ba1c13fea5c9d045ac178638807079cc (diff)
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/qmp-test.c')
0 files changed, 0 insertions, 0 deletions