On Fri, Jul 21, 2017 at 03:53:18PM +0200, Markus Armbruster wrote: > From: Eric Blake <ebl...@redhat.com> > > The next patch will add __attribute__((__format__)) to hmp(), which > in turn causes gcc to warn about non-literal format strings. Rather > than risk an arbitrary string containing % being mis-handled, always > pass variable strings along with a %s format. It also makes it > easier to prove correctness locally, rather than auditing all the > source strings. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > Reviewed-by: Markus Armbruster <arm...@redhat.com> > Message-Id: <20170720214008.28494-4-ebl...@redhat.com> > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > tests/test-hmp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature