From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWTVq-0006gU-P8 for qemu-devel@nongnu.org; Fri, 02 Dec 2011 08:50:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWTVn-0007m3-1d for qemu-devel@nongnu.org; Fri, 02 Dec 2011 08:50:50 -0500 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:59285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWTVm-0007lc-Gh for qemu-devel@nongnu.org; Fri, 02 Dec 2011 08:50:46 -0500 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Dec 2011 13:50:41 -0000 Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB2DodDF2715680 for ; Fri, 2 Dec 2011 13:50:39 GMT Received: from d06av12.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB2DocCM010680 for ; Fri, 2 Dec 2011 06:50:38 -0700 From: Stefan Hajnoczi Date: Fri, 2 Dec 2011 13:50:22 +0000 Message-Id: <1322833833-9969-5-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1322833833-9969-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1322833833-9969-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 04/15] darwin-user: Fix format string in debug message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , Anthony Liguori , Stefan Hajnoczi From: Stefan Weil 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 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.7.3