Rename hwrev to hwrevs and fix unpacking fiasco images. hwrevs do not have to be separated by nullterm if size of hwrev is 8.

This commit is contained in:
Pali Rohár committed 2012-06-23 13:09:44 +02:00
1 parent 8bc521f3e5
commit b4575a40fc
2 files changed
+24 -14

No files matched your search

+3 -3
View File
@@ -103,11 +103,11 @@ enum {
struct header_t {
int fd;
char fwname[128];
char version[128];
char name[128];
char type[128];
char device[16];
char hwrev[128];
char name[128];
char hwrevs[128];
char version[128];
unsigned short hash;
unsigned int size;
unsigned char *data;