summaryrefslogtreecommitdiffstats
path: root/src/barebox-state/backend_format_raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/barebox-state/backend_format_raw.c')
-rw-r--r--src/barebox-state/backend_format_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/barebox-state/backend_format_raw.c b/src/barebox-state/backend_format_raw.c
index f9102d4..cc225b2 100644
--- a/src/barebox-state/backend_format_raw.c
+++ b/src/barebox-state/backend_format_raw.c
@@ -37,7 +37,7 @@ struct state_backend_format_raw {
struct device_d *dev;
};
-struct backend_raw_header {
+struct __attribute__((__packed__)) backend_raw_header {
uint32_t magic;
uint16_t reserved;
uint16_t data_len;