cpio: pack struct cpio_newc_header
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
02c683fe59
commit
0d03ff47d4
1 changed files with 3 additions and 1 deletions
|
|
@ -5,6 +5,8 @@
|
|||
#define CPIO_NEWC_MAGIC "070701"
|
||||
#define CPIO_TRAILER "TRAILER!!!"
|
||||
|
||||
#include <kernel/common.h>
|
||||
|
||||
struct cpio_newc_header {
|
||||
char c_magic[6];
|
||||
char c_ino[8];
|
||||
|
|
@ -20,6 +22,6 @@ struct cpio_newc_header {
|
|||
char c_rdevminor[8];
|
||||
char c_namesize[8];
|
||||
char c_check[8];
|
||||
};
|
||||
} PACKED;
|
||||
|
||||
#endif /* _CPIO_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue