aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/m68k-semi.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-m68k/m68k-semi.c')
-rw-r--r--target-m68k/m68k-semi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/m68k-semi.c b/target-m68k/m68k-semi.c
index 3bb30cd1f7..fed44ea490 100644
--- a/target-m68k/m68k-semi.c
+++ b/target-m68k/m68k-semi.c
@@ -150,7 +150,7 @@ static void m68k_semi_cb(CPUM68KState *env, target_ulong ret, target_ulong err)
}
/* FIXME - handle put_user() failure */
put_user_u32(ret, args);
- put_user_u32(errno, args + 4);
+ put_user_u32(err, args + 4);
}
#define ARG(n) \