]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/boot-sector.h
tests/boot-sector: Use mkstemp() to create a unique file name
[mirror_qemu.git] / tests / boot-sector.h
index f64b477aa33c2b8fb7949f3d8b76e2bd940b44fd..35d61c7e2bd0326355a169c3733f6146878a5c80 100644 (file)
@@ -14,8 +14,8 @@
 #ifndef TEST_BOOT_SECTOR_H
 #define TEST_BOOT_SECTOR_H
 
-/* Create boot disk file.  */
-int boot_sector_init(const char *fname);
+/* Create boot disk file. fname must be a suitable string for mkstemp() */
+int boot_sector_init(char *fname);
 
 /* Loop until signature in memory is OK.  */
 void boot_sector_test(void);