Commit 5b2575789bf30630d6f1c185ddb239945df96fa5

Authored by aurel32
1 parent 3ea8749d

Fix a typo introduced in revision 4272


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -2557,7 +2557,7 @@ void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf,
2557 2557 /* FIXME - should this return an error rather than just fail? */
2558 2558 return;
2559 2559 memcpy(buf, p, l);
2560   - unlock_user(p, addr, l);
  2560 + unlock_user(p, addr, 0);
2561 2561 }
2562 2562 len -= l;
2563 2563 buf += l;
... ...