diff options
Diffstat (limited to 'utils/sbtools')
-rw-r--r-- | utils/sbtools/sbtoelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/sbtools/sbtoelf.c b/utils/sbtools/sbtoelf.c index be719c6a5f..52d7179f2e 100644 --- a/utils/sbtools/sbtoelf.c +++ b/utils/sbtools/sbtoelf.c | |||
@@ -337,8 +337,8 @@ static void extract(unsigned long filesize) | |||
337 | bugp("File size mismatch"); | 337 | bugp("File size mismatch"); |
338 | if(sb_header->header_size * BLOCK_SIZE != sizeof(struct sb_header_t)) | 338 | if(sb_header->header_size * BLOCK_SIZE != sizeof(struct sb_header_t)) |
339 | bugp("Bad header size"); | 339 | bugp("Bad header size"); |
340 | if(sb_header->major_ver != IMAGE_MAJOR_VERSION || | 340 | if((sb_header->major_ver != IMAGE_MAJOR_VERSION || |
341 | sb_header->minor_ver != IMAGE_MINOR_VERSION) | 341 | sb_header->minor_ver != IMAGE_MINOR_VERSION) && strcmp(getenv("SB_IGNORE_VER"), "YES")) |
342 | bugp("Bad file format version"); | 342 | bugp("Bad file format version"); |
343 | if(sb_header->sec_hdr_size * BLOCK_SIZE != sizeof(struct sb_section_header_t)) | 343 | if(sb_header->sec_hdr_size * BLOCK_SIZE != sizeof(struct sb_section_header_t)) |
344 | bugp("Bad section header size"); | 344 | bugp("Bad section header size"); |