From e7547eeefae5a8f095351c6ae889ee9cf82720cb Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sun, 6 Sep 2020 22:31:35 -0700 Subject: [PATCH] fixed missing 'packed' keyword --- lib/std/os/linux/bpf/btf.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/linux/bpf/btf.zig b/lib/std/os/linux/bpf/btf.zig index 36560416fb..c99196e4a0 100644 --- a/lib/std/os/linux/bpf/btf.zig +++ b/lib/std/os/linux/bpf/btf.zig @@ -34,7 +34,7 @@ pub const max_vlen = 0xffff; pub const Type = packed struct { name_off: u32, - info: struct { + info: packed struct { /// number of struct's members vlen: u16,