aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-hw-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-hw-usb.c')
-rw-r--r--emulators/qemu-devel/files/patch-hw-usb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-hw-usb.c b/emulators/qemu-devel/files/patch-hw-usb.c
new file mode 100644
index 000000000000..50f6fc884a7a
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-hw-usb.c
@@ -0,0 +1,11 @@
+# 1.4
+Index: qemu/hw/usb.c
+@@ -183,7 +183,7 @@
+
+ q = buf;
+ len = strlen(str);
+- *q++ = 2 * len + 1;
++ *q++ = 2 * len + 2;
+ *q++ = 3;
+ for(i = 0; i < len; i++) {
+ *q++ = str[i];