提交 5b257578 编写于 作者: A aurel32

Fix a typo introduced in revision 4272


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276 c046a42c-6fe2-441c-8c8c-71466251a162
上级 3ea8749d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册