[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] memset arg ordering.



ChangeSet 1.1404, 2005/03/31 09:04:56+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        memset arg ordering.



 harddrv.cc |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/tools/ioemu/iodev/harddrv.cc b/tools/ioemu/iodev/harddrv.cc
--- a/tools/ioemu/iodev/harddrv.cc      2005-03-31 04:05:22 -05:00
+++ b/tools/ioemu/iodev/harddrv.cc      2005-03-31 04:05:22 -05:00
@@ -3666,7 +3666,7 @@
    }
    else
    {
-     memset(buf, read_size, 0);
+     memset(buf, 0, read_size);
    }
  }
  else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.