Commit afd7cd92e848f094cce4a03286e03634f49be573

Authored by pbrook
1 parent b5154bde

Fix usermode build.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4634 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
linux-user/signal.c
... ... @@ -216,7 +216,7 @@ static inline void host_to_target_siginfo_noswap(target_siginfo_t *tinfo,
216 216 sig = host_to_target_signal(info->si_signo);
217 217 tinfo->si_signo = sig;
218 218 tinfo->si_errno = 0;
219   - tinfo->si_code = info.si_code;
  219 + tinfo->si_code = info->si_code;
220 220 if (sig == SIGILL || sig == SIGFPE || sig == SIGSEGV ||
221 221 sig == SIGBUS || sig == SIGTRAP) {
222 222 /* should never come here, but who knows. The information for
... ...