163148b426
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=87c8ac43897718b61dbcbca0296d6c2a
15 lines
620 B
Diff
15 lines
620 B
Diff
Index: xen-4.0.1-testing/tools/ioemu-qemu-xen/block-vvfat.c
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/tools/ioemu-qemu-xen/block-vvfat.c
|
|
+++ xen-4.0.1-testing/tools/ioemu-qemu-xen/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 */
|