mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-03-31 17:53:51 -04:00
Fix iPXE '-Werror=zero-length-bounds' (#202)
This commit is contained in:
parent
43fcd4f262
commit
74154ad9a3
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user