Fix cpio on ARM.
PR: bin/160430 Submitted by: Ian Lepore Approved by: re (Kostik Belousov) MFC after: 7 days
This commit is contained in:
parent
a02aba5f3c
commit
8274d570e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225525
@ -54,7 +54,7 @@ struct cpio_bin_header {
|
||||
unsigned char c_mtime[4];
|
||||
unsigned char c_namesize[2];
|
||||
unsigned char c_filesize[4];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct cpio_odc_header {
|
||||
char c_magic[6];
|
||||
@ -68,7 +68,7 @@ struct cpio_odc_header {
|
||||
char c_mtime[11];
|
||||
char c_namesize[6];
|
||||
char c_filesize[11];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct cpio_newc_header {
|
||||
char c_magic[6];
|
||||
@ -85,7 +85,7 @@ struct cpio_newc_header {
|
||||
char c_rdevminor[8];
|
||||
char c_namesize[8];
|
||||
char c_crc[8];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct links_entry {
|
||||
struct links_entry *next;
|
||||
|
@ -74,7 +74,7 @@ struct cpio_header {
|
||||
char c_mtime[11];
|
||||
char c_namesize[6];
|
||||
char c_filesize[11];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Set output format to 'cpio' format.
|
||||
|
Loading…
Reference in New Issue
Block a user