Fix iPXE '-Werror=zero-length-bounds' (#202)

This commit is contained in:
A1ive 2020-06-06 11:31:39 +08:00 committed by GitHub
parent 43fcd4f262
commit 74154ad9a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -85,13 +85,14 @@ struct san_device {
struct list_head opened;
/** List of closed SAN paths */
struct list_head closed;
/** SAN paths */
struct san_path path[0];
unsigned int exdrive;
int int13_command;
void *x86_regptr;
uint8_t boot_catalog_sector[2048];
/** SAN paths */
struct san_path path[0];
};
/** SAN device flags */