06b9899ef9
checked in (request 49271) OBS-URL: https://build.opensuse.org/request/show/49271 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=75
15 lines
614 B
Diff
15 lines
614 B
Diff
Index: xen-4.0.0-testing/tools/ioemu-remote/block-vvfat.c
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/ioemu-remote/block-vvfat.c
|
|
+++ xen-4.0.0-testing/tools/ioemu-remote/block-vvfat.c
|
|
@@ -865,7 +865,8 @@ static int init_directories(BDRVVVFATSta
|
|
{
|
|
direntry_t* entry=array_get_next(&(s->directory));
|
|
entry->attributes=0x28; /* archive | volume label */
|
|
- snprintf((char*)entry->name,11,"QEMU VVFAT");
|
|
+ memcpy(entry->name,"QEMU VVF",8);
|
|
+ memcpy(entry->extension,"AT ",3);
|
|
}
|
|
|
|
/* Now build FAT, and write back information into directory */
|