On 07/29/2017 08:11 AM, Vladimir Sementsov-Ogievskiy wrote: > In trace format '#' flag of printf is forbidden. Fix it to '0x%'. > > This patch is created by the following: > > check that we have a problem >> find . -name trace-events | xargs grep '%#' | wc -l > 56 > > check that there are no cases with additional printf flags >> find . -name trace-events | xargs grep '%[-+ 0]+#' | wc -l > 0
Missing a check for the ' flag required by POSIX (but not C99); although we don't use that either. > > check that there are no wrong usage of '#' and '0x' together >> find . -name trace-events | xargs grep '0x%#' | wc -l > 0 > > fix the problem >> find . -name trace-events | xargs sed -i 's/%#/0x%/g' > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature