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:
Tim Kientzle 2011-09-13 05:52:34 +00:00
parent a02aba5f3c
commit 8274d570e8
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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.