]> xenbits.xensource.com Git - xen.git/commitdiff
[qemu patches] Update patches for changeset 10929:4dd640c6ce57.
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Fri, 4 Aug 2006 09:20:33 +0000 (10:20 +0100)
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Fri, 4 Aug 2006 09:20:33 +0000 (10:20 +0100)
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/ioemu/patches/qemu-fix-memset-args [new file with mode: 0644]
tools/ioemu/patches/series

diff --git a/tools/ioemu/patches/qemu-fix-memset-args b/tools/ioemu/patches/qemu-fix-memset-args
new file mode 100644 (file)
index 0000000..6fa83c2
--- /dev/null
@@ -0,0 +1,18 @@
+Index: ioemu/audio/audio.c
+===================================================================
+--- ioemu.orig/audio/audio.c   2006-07-14 13:43:45.000000000 +0100
++++ ioemu/audio/audio.c        2006-08-04 10:18:17.243240246 +0100
+@@ -597,11 +597,11 @@
+     }
+     if (info->sign) {
+-        memset (buf, len << info->shift, 0x00);
++        memset (buf, 0x00, len << info->shift);
+     }
+     else {
+         if (info->bits == 8) {
+-            memset (buf, len << info->shift, 0x80);
++            memset (buf, 0x80, len << info->shift);
+         }
+         else {
+             int i;
index 4e4b48c50868061ffb3ccc9a2551767c991ac00b..ce2cf0b70a31c6097c3596cbf481180857f2ec1d 100644 (file)
@@ -38,3 +38,4 @@ vnc-access-monitor-vt
 xenstore-block-device-config
 xenstore-write-vnc-port
 qemu-allow-disable-sdl
+qemu-fix-memset-args