aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/errorlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errorlog.h b/include/errorlog.h
index 6da9664..b4cc163 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -119,7 +119,7 @@ struct __attribute__((__packed__))elog_user_data_section {
* needs to populate this structure using pre-defined interfaces
* only
*/
-struct __attribute__((__packed__)) errorlog {
+struct __attribute__((__packed__)) __attribute__ ((aligned (8))) errorlog {
uint16_t component_id;
uint8_t error_event_type;