diff options
author | Richard Henderson <rth@twiddle.net> | 2015-07-29 11:40:52 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-07-30 12:38:49 +0100 |
commit | cb48f67ad8c7b33c617d4f8144a27706e69fd688 (patch) | |
tree | 3cf9bafc04905b9832299366c41f9f74aa6fec95 | |
parent | 7008d580acad326148a725bd20695882ba10247a (diff) |
bsd-user: Fix operand to cpu_x86_exec
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1438195252-21968-1-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | bsd-user/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index f46728bad8..ee68daa395 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -173,7 +173,7 @@ void cpu_loop(CPUX86State *env) //target_siginfo_t info; for(;;) { - trapnr = cpu_x86_exec(env); + trapnr = cpu_x86_exec(cs); switch(trapnr) { case 0x80: /* syscall from int $0x80 */ |