summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-06-23 13:09:44 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-06-23 13:09:44 +0200
commitb4575a40fc30474920f4f867944cfd3fb7aa876c (patch)
treec9d7d64530efa54f5f3846794c0bbb66f9452691 /src/main.h
parent8bc521f3e5e83fddc08a031aa7cf7499514ee732 (diff)
download0xFFFF-b4575a40fc30474920f4f867944cfd3fb7aa876c.tar.bz2
Rename hwrev to hwrevs and fix unpacking fiasco images. hwrevs do not have to be separated by nullterm if size of hwrev is 8.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.h b/src/main.h
index f2c5824..42c45e4 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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;