aboutsummaryrefslogtreecommitdiff
path: root/sys/net/vnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/vnet.c')
-rw-r--r--sys/net/vnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/vnet.c b/sys/net/vnet.c
index c2c725836c65..a124387f6f74 100644
--- a/sys/net/vnet.c
+++ b/sys/net/vnet.c
@@ -178,7 +178,7 @@ static MALLOC_DEFINE(M_VNET_DATA, "vnet_data", "VNET data");
* Space to store virtualized global variables from loadable kernel modules,
* and the free list to manage it.
*/
-VNET_DEFINE_STATIC(char, modspace[VNET_MODMIN]);
+VNET_DEFINE_STATIC(char, modspace[VNET_MODMIN] __aligned(__alignof(void *)));
/*
* Global lists of subsystem constructor and destructors for vnets. They are