summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-hw-usb.c
blob: 50f6fc884a7a5a52d0bb5cd64025cf882701c78b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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];