mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-10-04 09:16:17 +00:00
Fix iPXE '-Werror=zero-length-bounds' (#202)
This commit is contained in:
@@ -85,13 +85,14 @@ struct san_device {
|
|||||||
struct list_head opened;
|
struct list_head opened;
|
||||||
/** List of closed SAN paths */
|
/** List of closed SAN paths */
|
||||||
struct list_head closed;
|
struct list_head closed;
|
||||||
/** SAN paths */
|
|
||||||
struct san_path path[0];
|
|
||||||
|
|
||||||
unsigned int exdrive;
|
unsigned int exdrive;
|
||||||
int int13_command;
|
int int13_command;
|
||||||
void *x86_regptr;
|
void *x86_regptr;
|
||||||
uint8_t boot_catalog_sector[2048];
|
uint8_t boot_catalog_sector[2048];
|
||||||
|
|
||||||
|
/** SAN paths */
|
||||||
|
struct san_path path[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
/** SAN device flags */
|
/** SAN device flags */
|
||||||
|
Reference in New Issue
Block a user