Commit 363269a2a9

朕与将军解战袍 <72246322+a1393323447@users.noreply.github.com>
2023-04-27 10:10:38
fix incorrect struct definition
1 parent 1a455b2
Changed files (1)
lib
std
lib/std/os/linux.zig
@@ -4004,7 +4004,7 @@ pub const io_uring_probe = extern struct {
     ops_len: u8,
 
     resv: u16,
-    resv2: u32[3],
+    resv2: [3]u32,
 
     // Followed by up to `ops_len` io_uring_probe_op structures
 };
@@ -4022,7 +4022,7 @@ pub const io_uring_restriction = extern struct {
         sqe_flags: u8,
     },
     resv: u8,
-    resv2: u32[3],
+    resv2: [3]u32,
 };
 
 /// io_uring_restriction->opcode values