From 5b2575789bf30630d6f1c185ddb239945df96fa5 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 28 Apr 2008 08:54:59 +0000 Subject: [PATCH] Fix a typo introduced in revision 4272 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index c556de0479..d9e959d69d 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;