mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Fix most warnings (errors with -Werror) when debugging is enabled
I used the following command to enable debugging: perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * */* */*/* Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
c0a2a096a0
commit
0bf9e31af1
21 changed files with 95 additions and 103 deletions
|
@ -584,8 +584,8 @@ int do_sigaction(int sig, const struct target_sigaction *act,
|
|||
return -EINVAL;
|
||||
k = &sigact_table[sig - 1];
|
||||
#if defined(DEBUG_SIGNAL)
|
||||
fprintf(stderr, "sigaction sig=%d act=0x%08x, oact=0x%08x\n",
|
||||
sig, (int)act, (int)oact);
|
||||
fprintf(stderr, "sigaction sig=%d act=0x%p, oact=0x%p\n",
|
||||
sig, act, oact);
|
||||
#endif
|
||||
if (oact) {
|
||||
oact->_sa_handler = tswapl(k->_sa_handler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue