mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 11:28:46 +00:00
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>
This commit is contained in:
parent
b0cd712cc3
commit
e0c8a796d5
@ -38,7 +38,7 @@
|
|||||||
#define SYS_ISATTY 29
|
#define SYS_ISATTY 29
|
||||||
#define SYS_LSEEK 199
|
#define SYS_LSEEK 199
|
||||||
|
|
||||||
struct m86k_sim_stat {
|
struct m68k_sim_stat {
|
||||||
uint16_t sim_st_dev;
|
uint16_t sim_st_dev;
|
||||||
uint16_t sim_st_ino;
|
uint16_t sim_st_ino;
|
||||||
uint32_t sim_st_mode;
|
uint32_t sim_st_mode;
|
||||||
@ -138,10 +138,10 @@ void do_m68k_simcall(CPUM68KState *env, int nr)
|
|||||||
{
|
{
|
||||||
struct stat s;
|
struct stat s;
|
||||||
int rc;
|
int rc;
|
||||||
struct m86k_sim_stat *p;
|
struct m68k_sim_stat *p;
|
||||||
rc = check_err(env, fstat(ARG(0), &s));
|
rc = check_err(env, fstat(ARG(0), &s));
|
||||||
if (rc == 0) {
|
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_dev = tswap16(s.st_dev);
|
||||||
p->sim_st_ino = tswap16(s.st_ino);
|
p->sim_st_ino = tswap16(s.st_ino);
|
||||||
p->sim_st_mode = tswap32(s.st_mode);
|
p->sim_st_mode = tswap32(s.st_mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user