From 7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 19 Nov 2011 20:18:39 +0100 Subject: [PATCH] darwin-user: Fix format string in debug message This was spotted by cppcheck. Reviewed-by: Peter Maydell Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- darwin-user/signal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/darwin-user/signal.c b/darwin-user/signal.c index c530227f1..317ef9216 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); -- 2.39.5