mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 11:10:59 +01:00
Kmod (NetBSD): add __attribute__((__packed__)) to ensure memory layout
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ bool ffKmodLoaded(const char* modName)
|
||||
#include <sys/module.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
typedef struct FFNbsdModList
|
||||
typedef struct __attribute__((__packed__)) FFNbsdModList
|
||||
{
|
||||
int len;
|
||||
modstat_t mods[];
|
||||
|
||||
Reference in New Issue
Block a user