summaryrefslogtreecommitdiffstats
path: root/bin/pax/cpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pax/cpio.h')
-rw-r--r--bin/pax/cpio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/cpio.h b/bin/pax/cpio.h
index 2f4c37c..1cac0d7 100644
--- a/bin/pax/cpio.h
+++ b/bin/pax/cpio.h
@@ -67,7 +67,7 @@ typedef struct {
char c_mtime[11]; /* modification time */
char c_namesize[6]; /* length of pathname */
char c_filesize[11]; /* length of file in bytes */
-} HD_CPIO;
+} HD_CPIO __aligned(1);
#define MAGIC 070707 /* transportable archive id */
@@ -98,7 +98,7 @@ typedef struct {
u_char h_namesize[2];
u_char h_filesize_1[2];
u_char h_filesize_2[2];
-} HD_BCPIO;
+} HD_BCPIO __aligned(1);
#ifdef _PAX_
/*
@@ -136,7 +136,7 @@ typedef struct {
char c_rmin[8]; /* special file minor # */
char c_namesize[8]; /* length of pathname */
char c_chksum[8]; /* 0 OR CRC of bytes of FILE data */
-} HD_VCPIO;
+} HD_VCPIO __aligned(1);
#define VMAGIC 070701 /* sVr4 new portable archive id */
#define VCMAGIC 070702 /* sVr4 new portable archive id CRC */
OpenPOWER on IntegriCloud