authorgravatar for 72246322+a1393323447@users.noreply.github.com朕与将军解战袍 <72246322+a1393323447@users.noreply.github.com> 2023-04-27 16:10:38+08:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-04-27 11:10:38+03:00
log363269a2a9aa71d909aa28f2f9c68c4220ae3d0b
treeaca6ce36afdd370f92eab9049e0f7db3782d29e9
parent1a455b2dd8b45fe197fcac7abb9816f5518f6ccd
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

fix incorrect struct definition


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/linux.zig+2-2
...@@ -4004,7 +4004,7 @@ pub const io_uring_probe = extern struct {...@@ -4004,7 +4004,7 @@ pub const io_uring_probe = extern struct {
4004 ops_len: u8,4004 ops_len: u8,
40054005
4006 resv: u16,4006 resv: u16,
4007 resv2: u32[3],4007 resv2: [3]u32,
40084008
4009 // Followed by up to `ops_len` io_uring_probe_op structures4009 // Followed by up to `ops_len` io_uring_probe_op structures
4010};4010};
...@@ -4022,7 +4022,7 @@ pub const io_uring_restriction = extern struct {...@@ -4022,7 +4022,7 @@ pub const io_uring_restriction = extern struct {
4022 sqe_flags: u8,4022 sqe_flags: u8,
4023 },4023 },
4024 resv: u8,4024 resv: u8,
4025 resv2: u32[3],4025 resv2: [3]u32,
4026};4026};
40274027
4028/// io_uring_restriction->opcode values4028/// io_uring_restriction->opcode values