wmc: fix init command

Actually read what struct tm contains and use it correctly,
and fix the init command struct size.
This commit is contained in:
Dan Williams
2012-01-23 10:48:28 -06:00
parent 66b7ef018e
commit f90fe19068
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ struct WmcCmdInit2 {
u_int16_t hours; /* big endian */
u_int16_t minutes; /* big endian */
u_int16_t seconds; /* big endian */
u_int8_t _unknown1[2];
u_int8_t _unknown1[3];
} __attribute__ ((packed));
typedef struct WmcCmdInit2 WmcCmdInit2;