qemu-e2k/audio
Vladimir Sementsov-Ogievskiy db73ee4bc8 trace-events: fix code style: %# -> 0x%
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 before '#'
> find . -name trace-events | xargs grep "%[-+ 0'I]+#" | wc -l
0

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'

[Eric Blake noted that xargs grep '%[-+ 0'I]+#' should be xargs grep
"%[-+ 0'I]+#" instead so the shell quoting is correct.
--Stefan]

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20170731160135.12101-3-vsementsov@virtuozzo.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-08-01 12:13:07 +01:00
..
alsaaudio.c
audio_int.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
audio_pt_int.c
audio_pt_int.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
audio_template.h
audio_win_int.c
audio_win_int.h
audio.c audio: release capture buffers 2017-05-04 08:31:48 +02:00
audio.h replay: add record/replay for audio passthrough 2017-03-01 15:11:44 +01:00
coreaudio.c audio: clean up before monitor clean up 2016-08-08 14:17:00 +02:00
dsound_template.h
dsoundaudio.c
Makefile.objs
mixeng_template.h
mixeng.c replay: add record/replay for audio passthrough 2017-03-01 15:11:44 +01:00
mixeng.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
noaudio.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00
ossaudio.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
paaudio.c audio: pa: Set volume of recording stream instead of recording device 2016-06-03 11:13:38 +02:00
rate_template.h audio: st_rate_flow exist a infinite loop 2017-07-17 11:08:59 +02:00
sdlaudio.c audio/sdlaudio: Allow audio playback with SDL2 2017-03-01 15:12:03 +01:00
spiceaudio.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00
trace-events trace-events: fix code style: %# -> 0x% 2017-08-01 12:13:07 +01:00
wavaudio.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00
wavcapture.c audio: fix WAVState leak 2017-05-04 09:15:45 +02:00