aboutsummaryrefslogtreecommitdiff
path: root/linux-user/m68k-sim.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-24 18:30:35 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-10-05 13:53:56 -0500
commite0c8a796d522b80c21b005a19610829c4be2154f (patch)
tree84fb0da227e9e38eb5a8a7d557a86aa4dd604ccd /linux-user/m68k-sim.c
parentb0cd712cc37bc532b26d9935953cf347e025fc7a (diff)
linux-user: Fix typo m86k -> m68k
Replace m86k_sim_stat by m68k_sim_stat. Cc: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Diffstat (limited to 'linux-user/m68k-sim.c')
-rw-r--r--linux-user/m68k-sim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/m68k-sim.c b/linux-user/m68k-sim.c
index 64d3b23d68..d5926eec4b 100644
--- a/linux-user/m68k-sim.c
+++ b/linux-user/m68k-sim.c
@@ -38,7 +38,7 @@
#define SYS_ISATTY 29
#define SYS_LSEEK 199
-struct m86k_sim_stat {
+struct m68k_sim_stat {
uint16_t sim_st_dev;
uint16_t sim_st_ino;
uint32_t sim_st_mode;
@@ -138,10 +138,10 @@ void do_m68k_simcall(CPUM68KState *env, int nr)
{
struct stat s;
int rc;
- struct m86k_sim_stat *p;
+ struct m68k_sim_stat *p;
rc = check_err(env, fstat(ARG(0), &s));
if (rc == 0) {
- p = (struct m86k_sim_stat *)(unsigned long)ARG(1);
+ p = (struct m68k_sim_stat *)(unsigned long)ARG(1);
p->sim_st_dev = tswap16(s.st_dev);
p->sim_st_ino = tswap16(s.st_ino);
p->sim_st_mode = tswap32(s.st_mode);