diff options
-rw-r--r-- | target-i386/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/machine.c b/target-i386/machine.c index 9d440fb346..7f78b0da9d 100644 --- a/target-i386/machine.c +++ b/target-i386/machine.c @@ -248,8 +248,8 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id) qemu_get_betls(f, &env->sysenter_esp); qemu_get_betls(f, &env->sysenter_eip); } else { - qemu_get_be32s(f, &env->sysenter_esp); - qemu_get_be32s(f, &env->sysenter_eip); + env->sysenter_esp = qemu_get_be32(f); + env->sysenter_eip = qemu_get_be32(f); } qemu_get_betls(f, &env->cr[0]); |