commit e7547eeefae5a8f095351c6ae889ee9cf82720cb (tree)
parent caaa9ad2afe7ca21ff48b9fd5c82be99057b46e4
Author: Matt Knight <mattnite@protonmail.com>
Date: Sun, 6 Sep 2020 22:31:35 -0700
fixed missing 'packed' keyword
Diffstat:
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
@@ -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,