diff options
| author | Stefan Weil | 2011-11-19 20:18:39 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2011-12-02 11:50:56 +0100 |
| commit | 7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0 (patch) | |
| tree | 227aa726cc13aaab314b04e5a51720d7ba9bd94f | |
| parent | MAINTAINERS: Delete spurious '.' (diff) | |
| download | qemu-7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0.tar.gz qemu-7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0.tar.xz qemu-7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0.zip | |
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.c | 3 |
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); |
