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>
This commit is contained in:
Stefan Weil 2011-11-19 20:18:39 +01:00 committed by Stefan Hajnoczi
parent c91bbffb41
commit 7a4bbe8dab
1 changed files with 1 additions and 2 deletions

View File

@ -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);