On Fri, Jul 21, 2017 at 03:53:20PM +0200, Markus Armbruster wrote: > The qmp_FOO() take a printf-like format string. In a few places, we > assign a string literal to a variable and pass that instead of simply > passing the literal. Clean that up. > > Bonus: gets rid of non-literal format strings. A step towards > compile-time format string checking without triggering > -Wformat-nonliteral. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > tests/ahci-test.c | 4 +--- > tests/ide-test.c | 4 +--- > 2 files changed, 2 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature