2010-09-28 00:07:21 +02:00
|
|
|
Index: xen-4.0.1-testing/tools/ioemu-qemu-xen/block-vvfat.c
|
2010-03-21 11:57:55 +01:00
|
|
|
===================================================================
|
2010-09-28 00:07:21 +02:00
|
|
|
--- 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
|
2010-03-21 11:57:55 +01:00
|
|
|
@@ -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 */
|