aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-28 08:54:59 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-28 08:54:59 +0000
commit5b2575789bf30630d6f1c185ddb239945df96fa5 (patch)
treecec9e8559760dc8950ed623b0d8b7533af907adb /exec.c
parentBIOS: Reenable processor SSDT generation. Don't advertise ACPI C2 or C3 (diff)
downloadqemu-kvm-5b2575789bf30630d6f1c185ddb239945df96fa5.tar.gz
qemu-kvm-5b2575789bf30630d6f1c185ddb239945df96fa5.tar.bz2
qemu-kvm-5b2575789bf30630d6f1c185ddb239945df96fa5.zip
Fix a typo introduced in revision 4272
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index c556de047..d9e959d69 100644
--- a/exec.c
+++ b/exec.c
@@ -2557,7 +2557,7 @@ void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf,
/* FIXME - should this return an error rather than just fail? */
return;
memcpy(buf, p, l);
- unlock_user(p, addr, l);
+ unlock_user(p, addr, 0);
}
len -= l;
buf += l;