aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-11-19 20:18:39 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-12-02 10:50:56 +0000
commit7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0 (patch)
tree227aa726cc13aaab314b04e5a51720d7ba9bd94f
parentc91bbffb41ecb80336e03aa069b7ea27cf150453 (diff)
darwin-user: Fix format string in debug message
This was spotted by cppcheck. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--darwin-user/signal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/darwin-user/signal.c b/darwin-user/signal.c
index c530227f1c..317ef92168 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);