diff options
-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 f46728b..ee68daa 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 */ |