Skip to content

Commit

Permalink
Fix iPXE '-Werror=zero-length-bounds' (ventoy#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ive authored Jun 6, 2020
1 parent 43fcd4f commit 74154ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions IPXE/ipxe_mod_code/ipxe-3fe683e/src/include/ipxe/sanboot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 74154ad

Please sign in to comment.