qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] audio: Use GCC_FMT_ATTR (format checking)
@ 2010-11-15 19:54 Stefan Weil
  2010-12-04 20:53 ` [Qemu-devel] " Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2010-11-15 19:54 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Blue Swirl

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 audio/audio_pt_int.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/audio/audio_pt_int.c b/audio/audio_pt_int.c
index f15cc70..908c569 100644
--- a/audio/audio_pt_int.c
+++ b/audio/audio_pt_int.c
@@ -8,7 +8,8 @@
 
 #include <signal.h>
 
-static void logerr (struct audio_pt *pt, int err, const char *fmt, ...)
+static void GCC_FMT_ATTR(3, 4) logerr (struct audio_pt *pt, int err,
+                                       const char *fmt, ...)
 {
     va_list ap;
 
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Qemu-devel] Re: [PATCH] audio: Use GCC_FMT_ATTR (format checking)
  2010-11-15 19:54 [Qemu-devel] [PATCH] audio: Use GCC_FMT_ATTR (format checking) Stefan Weil
@ 2010-12-04 20:53 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2010-12-04 20:53 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers

Thanks, applied.

On Mon, Nov 15, 2010 at 7:54 PM, Stefan Weil <weil@mail.berlios.de> wrote:
> Cc: Blue Swirl <blauwirbel@gmail.com>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  audio/audio_pt_int.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/audio/audio_pt_int.c b/audio/audio_pt_int.c
> index f15cc70..908c569 100644
> --- a/audio/audio_pt_int.c
> +++ b/audio/audio_pt_int.c
> @@ -8,7 +8,8 @@
>
>  #include <signal.h>
>
> -static void logerr (struct audio_pt *pt, int err, const char *fmt, ...)
> +static void GCC_FMT_ATTR(3, 4) logerr (struct audio_pt *pt, int err,
> +                                       const char *fmt, ...)
>  {
>     va_list ap;
>
> --
> 1.7.2.3
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-04 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-15 19:54 [Qemu-devel] [PATCH] audio: Use GCC_FMT_ATTR (format checking) Stefan Weil
2010-12-04 20:53 ` [Qemu-devel] " Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).