aboutsummaryrefslogtreecommitdiff
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-31 12:14:21 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-31 12:14:21 +0000
commitafd7cd92e848f094cce4a03286e03634f49be573 (patch)
tree838ee1bc0d8d8de864fa3aa94bdf62368c5fec99 /linux-user/signal.c
parentb5154bdedb1c390ec77ed97bf369ece27c50f4bc (diff)
Fix usermode build.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4634 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index f066ee5850..350ba67b92 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -216,7 +216,7 @@ static inline void host_to_target_siginfo_noswap(target_siginfo_t *tinfo,
sig = host_to_target_signal(info->si_signo);
tinfo->si_signo = sig;
tinfo->si_errno = 0;
- tinfo->si_code = info.si_code;
+ tinfo->si_code = info->si_code;
if (sig == SIGILL || sig == SIGFPE || sig == SIGSEGV ||
sig == SIGBUS || sig == SIGTRAP) {
/* should never come here, but who knows. The information for