Skip to contentSkip to conversation

[4276] Fix a typo introduced in revision 4272

Qemu-devel Aurelien Jarno 1 participant 1 message Apr 28, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4276

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4276
Author:   aurel32
Date:     2008-04-28 08:54:59 +0000 (Mon, 28 Apr 2008)

Log Message:
-----------
Fix a typo introduced in revision 4272

Revision Links:
--------------

    http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4272

Modified Paths:
--------------
trunk/exec.c

Modified: trunk/exec.c
===================================================================

exec.c +1 -1
@@ -2557,7 +2557,7 @@
                 /* 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;