From 74296b983014e8df7f877207c462f1cf2b1840d7 Mon Sep 17 00:00:00 2001 From: Adithya Baglody Date: Tue, 27 Nov 2018 14:58:25 +0530 Subject: [PATCH] include: stats.h: Packed attribute was incorrect. This header was actually creating a struct in the bss. Fixed it. Signed-off-by: Adithya Baglody --- include/stats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stats.h b/include/stats.h index 7ca03eb0bde..537b23f3393 100644 --- a/include/stats.h +++ b/include/stats.h @@ -61,7 +61,7 @@ extern "C" { struct stats_name_map { u16_t snm_off; const char *snm_name; -} __packed; +} __attribute__((packed)); struct stats_hdr { const char *s_name;