aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-09-05 13:56:24 -0700
committerEric Biggers <ebiggers@google.com>2018-09-05 13:56:24 -0700
commit0aa29563ad4b6668edac56414877d204397c36a4 (patch)
treeba5142d99f85456c257421a169aa08b83ca30493
parentb3a3a23631398d65501d51ef249e967cca004b72 (diff)
downloadfsverity-utils-0aa29563ad4b6668edac56414877d204397c36a4.tar.gz
fsverity_uapi.h: replace __packed with __attribute__((packed))
__packed is not defined in the Linux UAPI headers; it's changed to __attribute__((packed)) on installation. Fix it in fsverity_uapi.h. Signed-off-by: Eric Biggers <ebiggers@google.com>
-rw-r--r--fsverity_uapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsverity_uapi.h b/fsverity_uapi.h
index 1ec4b6c..00c64f9 100644
--- a/fsverity_uapi.h
+++ b/fsverity_uapi.h
@@ -107,6 +107,6 @@ struct fsverity_extension_patch {
struct fsverity_footer {
__le32 desc_reverse_offset; /* distance to fsverity_descriptor */
__u8 magic[8]; /* FS_VERITY_MAGIC */
-} __packed;
+} __attribute__((packed));
#endif /* _UAPI_LINUX_FSVERITY_H */