qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] darwin-user: Fix format string in debug message
@ 2011-11-19 19:18 Stefan Weil
  2011-11-21 13:32 ` Andreas Färber
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Weil @ 2011-11-19 19:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Stefan Weil

This was spotted by cppcheck.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 darwin-user/signal.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/darwin-user/signal.c b/darwin-user/signal.c
index c530227..317ef92 100644
--- a/darwin-user/signal.c
+++ b/darwin-user/signal.c
@@ -270,8 +270,7 @@ int do_sigaction(int sig, const struct sigaction *act,
         host_sig = target_to_host_signal(sig);
         if (host_sig != SIGSEGV && host_sig != SIGBUS) {
 #if defined(DEBUG_SIGNAL)
-    fprintf(stderr, "sigaction handler going to call sigaction\n",
-            act->sa_handler, act->sa_flags, act->sa_mask);
+            fprintf(stderr, "sigaction handler going to call sigaction\n");
 #endif
 
             sigfillset(&act1.sa_mask);
-- 
1.7.2.5

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

end of thread, other threads:[~2011-11-22 11:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-19 19:18 [Qemu-devel] [PATCH] darwin-user: Fix format string in debug message Stefan Weil
2011-11-21 13:32 ` Andreas Färber
2011-11-21 13:41   ` Peter Maydell
2011-11-22 10:43 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2011-11-22 10:57   ` Peter Maydell
2011-11-22 11:41 ` Stefan Hajnoczi

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).