Skip to content

Commit

Permalink
bsd-user: Fix operand to cpu_x86_exec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rth7680 authored and pm215 committed Jul 30, 2015
1 parent 7008d58 commit cb48f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsd-user/main.c
Expand Up @@ -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 */
Expand Down

0 comments on commit cb48f67

Please sign in to comment.